Class ProcessorStylesheetElement

All Implemented Interfaces:
Serializable, SourceLocator, XSLTVisitable, PrefixResolver, ExpressionNode, WhitespaceStrippingElementMatcher, Document, Element, Node, NodeList

public class ProcessorStylesheetElement extends XSLTElementProcessor
TransformerFactory for xsl:stylesheet or xsl:transform markup.
See Also:
  • Constructor Details

    • ProcessorStylesheetElement

      public ProcessorStylesheetElement()
  • Method Details

    • startElement

      public void startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) throws SAXException
      Receive notification of the start of an strip-space element.
      Overrides:
      startElement in class XSLTElementProcessor
      Parameters:
      handler - The calling StylesheetHandler/TemplatesBuilder.
      uri - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed.
      localName - The local name (without prefix), or the empty string if Namespace processing is not being performed.
      rawName - The raw XML 1.0 name (with prefix), or the empty string if raw names are not available.
      attributes - The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object.
      Throws:
      SAXException
    • endElement

      public void endElement(StylesheetHandler handler, String uri, String localName, String rawName) throws SAXException
      Receive notification of the end of an element.
      Overrides:
      endElement in class XSLTElementProcessor
      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:
      SAXException