Class ProcessorExsltFunction

    • Constructor Detail

      • ProcessorExsltFunction

        public ProcessorExsltFunction()
    • Method Detail

      • startElement

        public void startElement​(StylesheetHandler handler,
                                 java.lang.String uri,
                                 java.lang.String localName,
                                 java.lang.String rawName,
                                 org.xml.sax.Attributes attributes)
                          throws org.xml.sax.SAXException
        Start an ElemExsltFunction. Verify that it is top level and that it has a name attribute with a namespace.
        Overrides:
        startElement in class ProcessorTemplateElem
        Parameters:
        handler - non-null reference to current StylesheetHandler that is constructing the Templates.
        uri - The Namespace URI, or an empty string.
        localName - The local name (without prefix), or empty string if not namespace processing.
        rawName - The qualified name (with prefix).
        attributes - The specified or defaulted attributes.
        Throws:
        org.xml.sax.SAXException
      • endElement

        public void endElement​(StylesheetHandler handler,
                               java.lang.String uri,
                               java.lang.String localName,
                               java.lang.String rawName)
                        throws org.xml.sax.SAXException
        End an ElemExsltFunction, and verify its validity.
        Overrides:
        endElement in class ProcessorTemplateElem
        Parameters:
        handler - non-null reference to current StylesheetHandler that is constructing the Templates.
        uri - The Namespace URI, or an empty string.
        localName - The local name (without prefix), or empty string if not namespace processing.
        rawName - The qualified name (with prefix).
        Throws:
        org.xml.sax.SAXException
      • validate

        public void validate​(ElemTemplateElement elem,
                             StylesheetHandler handler)
                      throws org.xml.sax.SAXException
        Non-recursive traversal of FunctionElement tree based on TreeWalker to verify that there are no literal result elements except within a func:result element and that the func:result element does not contain any following siblings except xsl:fallback.
        Throws:
        org.xml.sax.SAXException