Class XSLAttributeSet

All Implemented Interfaces:
Source, SourceLocator, LocationProvider, SaxonLocator, Container, FingerprintedNode, Item, NodeInfo, ValueRepresentation, StylesheetProcedure, InstructionInfo, Locator

public class XSLAttributeSet extends StyleElement implements StylesheetProcedure
An xsl:attribute-set element in the stylesheet.
  • Constructor Details

    • XSLAttributeSet

      public XSLAttributeSet()
  • Method Details

    • getAttributeSetFingerprint

      public int getAttributeSetFingerprint()
    • getInstruction

      public AttributeSet getInstruction()
    • incrementReferenceCount

      public void incrementReferenceCount()
    • 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
    • validate

      public void validate() throws XPathException
      Description copied from class: StyleElement
      Check that the stylesheet element is valid. This is called once for each element, after the entire tree has been built. As well as validation, it can perform first-time initialisation. The default implementation does nothing; it is normally overriden in subclasses.
      Overrides:
      validate in class StyleElement
      Throws:
      XPathException
    • checkCircularity

      public void checkCircularity(XSLAttributeSet origin) throws XPathException
      Check for circularity: specifically, check that this attribute set does not contain a direct or indirect reference to the one supplied as a parameter
      Throws:
      XPathException
    • getSlotManager

      public SlotManager getSlotManager()
      Get details of stack frame
      Specified by:
      getSlotManager in interface StylesheetProcedure
      Returns:
      the associated SlotManager object
    • compile

      public Expression compile(Executable exec) throws XPathException
      Compile the attribute set
      Specified by:
      compile in class StyleElement
      Parameters:
      exec - the Executable
      Returns:
      a Procedure object representing the compiled attribute set
      Throws:
      XPathException - if a failure is detected
    • getConstructType

      public int getConstructType()
      Get the type of construct. This will be a constant in class Location. This method is part of the InstructionInfo interface
      Specified by:
      getConstructType in interface InstructionInfo
      Overrides:
      getConstructType in class StyleElement