Class ProcessorInclude

All Implemented Interfaces:
Serializable, SourceLocator, XSLTVisitable, PrefixResolver, ExpressionNode, WhitespaceStrippingElementMatcher, Document, Element, Node, NodeList
Direct Known Subclasses:
ProcessorImport

public class ProcessorInclude extends XSLTElementProcessor
TransformerFactory class for xsl:include markup.
See Also:
  • Constructor Details

    • ProcessorInclude

      public ProcessorInclude()
  • Method Details

    • getHref

      public String getHref()
      Get the base identifier with which this stylesheet is associated.
      Returns:
      non-null reference to the href attribute string, or null if setHref has not been called.
    • setHref

      public void setHref(String baseIdent)
      Get the base identifier with which this stylesheet is associated.
      Parameters:
      baseIdent - Should be a non-null reference to a valid URL string.
    • startElement

      public void startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) throws SAXException
      Receive notification of the start of an xsl:include 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 - Any SAX exception, possibly wrapping another exception.