Class XSLModuleRoot

All Implemented Interfaces:
Source, SourceLocator, ActiveSource, GroundedValue, Item, MutableNodeInfo, NamespaceResolver, NodeInfo, Sequence, Location, SteppingNode, SiblingCountingNode, Locator
Direct Known Subclasses:
XSLPackage, XSLStylesheet

public abstract class XSLModuleRoot extends StyleElement
Class representing xsl:stylesheet, xsl:transform, or xsl:package
  • Field Details

  • Constructor Details

    • XSLModuleRoot

      public XSLModuleRoot()
  • Method Details

    • isDeclaredModes

      public boolean isDeclaredModes()
      Ask whether it is required that modes be explicitly declared
      Returns:
      true if modes referenced within this package be explicitly declared
    • processAllAttributes

      public void processAllAttributes() throws XPathException
      Process the attributes of every node in the stylesheet module
      Overrides:
      processAllAttributes in class StyleElement
      Throws:
      XPathException - in the event of a static error being detected
    • index

      public void index(ComponentDeclaration decl, PrincipalStylesheetModule top)
      Description copied from class: StyleElement
      Method supplied by declaration elements to add themselves to a stylesheet-level index
      Overrides:
      index in class StyleElement
      Parameters:
      decl - the Declaration being indexed. (This corresponds to the StyleElement object except in cases where one module is imported several times with different precedence.)
      top - represents the outermost XSLStylesheet or XSLPackage element
    • getInputTypeAnnotationsAttribute

      public int getInputTypeAnnotationsAttribute()
      Get the value of the input-type-annotations attribute, for this module alone. The value is an or-ed combination of the two bits ANNOTATION_STRIP and ANNOTATION_PRESERVE
      Returns:
      the value if the input-type-annotations attribute in this stylesheet module