|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.instruct.Instruction | +--net.sf.saxon.instruct.GeneralVariable
This class defines common behaviour across xsl:variable, xsl:param, and xsl:with-param; also saxon:assign
Field Summary | |
protected int |
variableFingerprint
|
Fields inherited from class net.sf.saxon.instruct.Instruction |
children |
Constructor Summary | |
GeneralVariable()
|
Method Summary | |
boolean |
containsLocals()
|
int |
getCardinality()
Get the cardinality of the sequence returned by evaluating this instruction |
java.lang.String |
getInstructionName()
Get the name of the instruction for use in diagnostics |
ItemType |
getItemType()
Get the item type of the items returned by evaluating this instruction |
Expression |
getSelectExpression()
|
Value |
getSelectValue(XPathContext context)
Evaluate the variable. |
int |
getVariableFingerprint()
|
void |
init(Expression select,
SequenceType requiredType,
int variableFingerprint)
|
boolean |
isAssignable()
Test whether it is permitted to assign to the variable using the saxon:assign extension element. |
boolean |
isGlobal()
|
boolean |
isRequiredParam()
|
boolean |
isTunnelParam()
|
void |
setAssignable(boolean assignable)
|
void |
setContainsLocals(boolean containsLocals)
|
void |
setGlobal(boolean global)
|
void |
setRequiredParam(boolean requiredParam)
|
void |
setSelect(Expression select)
|
void |
setTunnel(boolean tunnel)
|
void |
setVariableFingerprint(int variableFingerprint)
|
Methods inherited from class net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, displayChildren, dynamicError, dynamicError, getChildren, getColumnNumber, getExecutable, getInstructionNamespace, getLineNumber, getPublicId, getSourceLocator, getSystemId, process, processChildren, processChildrenLeavingTail, processLeavingTail, recoverableError, setChildren, setExecutable, setSourceLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int variableFingerprint
Constructor Detail |
public GeneralVariable()
Method Detail |
public void init(Expression select, SequenceType requiredType, int variableFingerprint)
public void setSelect(Expression select)
public Expression getSelectExpression()
public void setVariableFingerprint(int variableFingerprint)
public void setGlobal(boolean global)
public void setAssignable(boolean assignable)
public void setRequiredParam(boolean requiredParam)
public void setContainsLocals(boolean containsLocals)
public void setTunnel(boolean tunnel)
public final boolean isAssignable()
public int getVariableFingerprint()
public ItemType getItemType()
Instruction
getItemType
in class Instruction
public int getCardinality()
Instruction
getCardinality
in class Instruction
public final boolean isGlobal()
public final boolean containsLocals()
public final boolean isRequiredParam()
public final boolean isTunnelParam()
public java.lang.String getInstructionName()
Instruction
getInstructionName
in class Instruction
public Value getSelectValue(XPathContext context) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |