net.sf.saxon.style
public abstract class XSLVariableDeclaration extends XSLGeneralVariable implements VariableDeclaration, StylesheetProcedure
Field Summary | |
---|---|
protected List | references |
Method Summary | |
---|---|
protected void | fixupBinding(Binding binding)
Notify all variable references of the Binding instruction |
void | fixupReferences()
Notify all references to this variable of the data type |
List | getReferenceList()
Get the list of references |
List | getReferences()
Get the list of references to this variable or parameter. |
abstract SequenceType | getRequiredType()
Get the static type of the variable. |
SlotManager | getSlotManager()
Get the SlotManager associated with this stylesheet construct. |
int | getSlotNumber() |
boolean | isInstruction()
Determine whether this node is an instruction. |
void | registerReference(BindingReference ref)
Method called by VariableReference to register the variable reference for
subsequent fixup |
protected void | setReferenceCount(GeneralVariable var) |
void | setSlotNumber(int slot) |
void | validate()
Check that the variable is not already declared, and allocate a slot number |
Returns: the associated SlotManager object
Returns: true - it is an instruction (well, it can be, anyway)