|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.expr.RangeVariableDeclaration
public class RangeVariableDeclaration
Represents the defining occurrence of a variable declared for local use within an expression, for example the $x in "for $x in ...". This object is used only at compile-time.
Constructor Summary | |
---|---|
RangeVariableDeclaration()
|
Method Summary | |
---|---|
void |
fixupReferences(Binding binding)
|
SequenceType |
getRequiredType()
|
int |
getVariableFingerprint()
Get the fingerprint code that identifies the name of the variable |
String |
getVariableName()
Get the name of the variable for use in diagnostics - a lexical QName |
void |
refineTypeInformation(ItemType type,
int cardinality,
Value constantValue,
int properties)
|
void |
registerReference(BindingReference ref)
Method called by a BindingReference to register the variable reference for subsequent fixup. |
void |
setRequiredType(SequenceType requiredType)
|
void |
setVariableFingerprint(int fingerprint)
|
void |
setVariableName(String variableName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangeVariableDeclaration()
Method Detail |
---|
public void setVariableFingerprint(int fingerprint)
public int getVariableFingerprint()
VariableDeclaration
getVariableFingerprint
in interface VariableDeclaration
public SequenceType getRequiredType()
public void setRequiredType(SequenceType requiredType)
public void setVariableName(String variableName)
public String getVariableName()
VariableDeclaration
getVariableName
in interface VariableDeclaration
public void registerReference(BindingReference ref)
VariableDeclaration
registerReference
in interface VariableDeclaration
public void fixupReferences(Binding binding)
public void refineTypeInformation(ItemType type, int cardinality, Value constantValue, int properties)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |