Class AttributeSet

  • All Implemented Interfaces:
    javax.xml.transform.SourceLocator, ExpressionOwner, Location, org.xml.sax.Locator

    public class AttributeSet
    extends Actor
    The compiled form of an xsl:attribute-set element in the stylesheet.
    • Constructor Detail

      • AttributeSet

        public AttributeSet()
        Create an empty attribute set
    • Method Detail

      • getSymbolicName

        public SymbolicName getSymbolicName()
        Get the symbolic name of the component
        Specified by:
        getSymbolicName in class Actor
        the symbolic name
      • setName

        public void setName​(StructuredQName attributeSetName)
        Set the name of the attribute-set
        attributeSetName - the name of the attribute-set
      • setDeclaredStreamable

        public void setDeclaredStreamable​(boolean value)
        Say whether this attribute set is declared to be streamable
        value - true if the attribute streamable="yes" is present
      • isDeclaredStreamable

        public boolean isDeclaredStreamable()
        Ask whether this attribute set is declared to be streamable
        true if the attribute streamable="yes" is present
      • setStackFrameMap

        public void setStackFrameMap​(SlotManager stackFrameMap)
        Set the stack frame map which allocates slots to variables declared in this attribute set
        setStackFrameMap in class Actor
        stackFrameMap - the stack frame map
      • getFocusDependencies

        public int getFocusDependencies()
        Determine whether the attribute set has any dependencies on the focus
        the dependencies
      • getObjectName

        public StructuredQName getObjectName()
        Get a name identifying the object of the expression, for example a function name, template name, variable name, key name, element name, etc. This is used only where the name is known statically.
      • export

        public void export​(ExpressionPresenter presenter)
                    throws XPathException
        Diagnostic print of expression structure. The abstract expression tree is written to the supplied outputstream.
        Specified by:
        export in class Actor
        presenter - the expression presenter used to display the structure