net.sf.saxon.style

Class XSLAttributeSet

public class XSLAttributeSet extends StyleElement implements StylesheetProcedure

An xsl:attribute-set element in the stylesheet.
Method Summary
voidcheckCircularity(XSLAttributeSet origin)
Check for circularity: specifically, check that this attribute set does not contain a direct or indirect reference to the one supplied as a parameter
Expressioncompile(Executable exec)
Compile the attribute set
StructuredQNamegetAttributeSetName()
Get the name of this attribute set
intgetConstructType()
Get the type of construct.
AttributeSetgetInstruction()
Get the compiled code produced for this XSLT element
SlotManagergetSlotManager()
Get details of stack frame
voidincrementReferenceCount()
Increment the number of references found to this attribute set
voidoptimize()
Optimize the stylesheet construct
voidprepareAttributes()
voidvalidate()

Method Detail

checkCircularity

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

Parameters: origin the place from which the search started

compile

public Expression compile(Executable exec)
Compile the attribute set

Parameters: exec the Executable

Returns: a Procedure object representing the compiled attribute set

Throws: XPathException if a failure is detected

getAttributeSetName

public StructuredQName getAttributeSetName()
Get the name of this attribute set

Returns: the name of the attribute set, as a QName

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

getInstruction

public AttributeSet getInstruction()
Get the compiled code produced for this XSLT element

Returns: the compiled AttributeSet

getSlotManager

public SlotManager getSlotManager()
Get details of stack frame

incrementReferenceCount

public void incrementReferenceCount()
Increment the number of references found to this attribute set

optimize

public void optimize()
Optimize the stylesheet construct

prepareAttributes

public void prepareAttributes()

validate

public void validate()