|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.query.GlobalVariableDefinition
Class to hold compile-time information about an XQuery global variable or parameter
Constructor Summary | |
GlobalVariableDefinition()
|
Method Summary | |
GeneralVariable |
compile(StaticQueryContext env,
int slot)
|
int |
getVariableFingerprint()
Get the fingerprint code that identifies the name of the variable |
java.lang.String |
getVariableName()
Get the name of the variable for use in diagnostics - a lexical QName |
void |
registerReference(BindingReference ref)
Method called by a BindingReference to register the variable reference for subsequent fixup. |
void |
setFingerprint(int fingerprint)
|
void |
setIsParameter(boolean b)
|
void |
setLineNumber(int lineNumber)
|
void |
setRequiredType(SequenceType type)
|
void |
setValueExpression(Expression val)
|
void |
setVariableName(java.lang.String variableName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GlobalVariableDefinition()
Method Detail |
public void setRequiredType(SequenceType type)
public void setFingerprint(int fingerprint)
public void setLineNumber(int lineNumber)
public java.lang.String getVariableName()
VariableDeclaration
getVariableName
in interface VariableDeclaration
public void setVariableName(java.lang.String variableName)
public void setValueExpression(Expression val)
public void setIsParameter(boolean b)
public void registerReference(BindingReference ref)
VariableDeclaration
registerReference
in interface VariableDeclaration
public int getVariableFingerprint()
VariableDeclaration
getVariableFingerprint
in interface VariableDeclaration
public GeneralVariable compile(StaticQueryContext env, int slot) throws XPathException
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |