Class XSLOverride

All Implemented Interfaces:
Iterable<NodeInfo>, Source, SourceLocator, Location, GroundedValue<NodeInfo>, Item<NodeInfo>, MutableNodeInfo, NamespaceResolver, NodeInfo, Sequence<NodeInfo>, SteppingNode<NodeImpl>, SiblingCountingNode, Locator

public class XSLOverride extends StyleElement
Represents an xsl:override element in a package manifest.
  • Constructor Details

    • XSLOverride

      public XSLOverride()
  • Method Details

    • prepareAttributes

      public void prepareAttributes() throws XPathException
      Description copied from class: StyleElement
      Set the attribute list for the element. This is called to process the attributes (note the distinction from processAttributes in the superclass). Must be supplied in a subclass
      Specified by:
      prepareAttributes in class StyleElement
      Throws:
      XPathException - if a static error is detected
    • validate

      public void validate(ComponentDeclaration decl) throws XPathException
      Validate this element
      Overrides:
      validate in class StyleElement
      Parameters:
      decl - Not used
      Throws:
      XPathException - if any error is found during validation
    • postValidate

      public void postValidate() throws XPathException
      Description copied from class: StyleElement
      Hook to allow additional validation of a parent element immediately after its children have been validated.
      Overrides:
      postValidate in class StyleElement
      Throws:
      XPathException - if any error is found during post-traversal validation
    • addXSLOverrideFunctionLibrary

      public void addXSLOverrideFunctionLibrary(FunctionLibraryList list)
      Add a function library that recognizes the function call xsl:original, which is permitted within a function that overrides another
      Parameters:
      list - the function library list to which the new function library should be added