|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.instruct.Instruction
net.sf.saxon.instruct.SimpleNodeConstructor
net.sf.saxon.instruct.Namespace
An xsl:namespace element in the stylesheet. (XSLT 2.0)
| Field Summary |
| Fields inherited from class net.sf.saxon.instruct.SimpleNodeConstructor |
select |
| Fields inherited from class net.sf.saxon.expr.ComputedExpression |
locationId, staticProperties |
| Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
| Constructor Summary | |
Namespace(Expression name)
|
|
| Method Summary | |
void |
display(int level,
NamePool pool,
java.io.PrintStream out)
Display this instruction as an expression, for diagnostics |
int |
getCardinality()
Determine the static cardinality of the expression. |
int |
getInstructionNameCode()
Set the name of this instruction for diagnostic and tracing purposes |
ItemType |
getItemType(TypeHierarchy th)
Get the item type of the items returned by evaluating this instruction |
java.util.Iterator |
iterateSubExpressions()
Get the immediate sub-expressions of this expression. |
void |
localTypeCheck(StaticContext env,
ItemType contextItemType)
|
TailCall |
processLeavingTail(XPathContext context)
ProcessLeavingTail: called to do the real work of this instruction. |
protected void |
promoteInst(PromotionOffer offer)
Offer promotion for subexpressions. |
Expression |
simplify(StaticContext env)
Simplify an expression. |
| Methods inherited from class net.sf.saxon.instruct.SimpleNodeConstructor |
checkContent, computeSpecialProperties, createsNewNodes, evaluateItem, evaluateNameCode, expandChildren, getSelect, iterate, optimize, setSelect, typeCheck |
| Methods inherited from class net.sf.saxon.instruct.Instruction |
appendItem, assembleParams, assembleTunnelParams, computeCardinality, dynamicError, evaluateAsString, getImplementationMethod, getInstructionInfo, getSourceLocator, isXSLT, process, promote |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.transform.SourceLocator |
getColumnNumber, getLineNumber, getPublicId, getSystemId |
| Constructor Detail |
public Namespace(Expression name)
| Method Detail |
public int getInstructionNameCode()
getInstructionNameCode in class Instruction
public Expression simplify(StaticContext env)
throws XPathException
Instruction
simplify in interface Expressionsimplify in class SimpleNodeConstructorXPathExceptionpublic ItemType getItemType(TypeHierarchy th)
Instruction
getItemType in interface ExpressiongetItemType in class Instructionth -
public int getCardinality()
ComputedExpression
getCardinality in interface ExpressiongetCardinality in class ComputedExpressionprotected void promoteInst(PromotionOffer offer)
SimpleNodeConstructor
promoteInst in class SimpleNodeConstructoroffer - details of the offer, for example the offer to move
expressions that don't depend on the context to an outer level in
the containing expression
public void localTypeCheck(StaticContext env,
ItemType contextItemType)
localTypeCheck in class SimpleNodeConstructorpublic java.util.Iterator iterateSubExpressions()
ComputedExpression
iterateSubExpressions in interface ExpressioniterateSubExpressions in class SimpleNodeConstructor
public TailCall processLeavingTail(XPathContext context)
throws XPathException
Instruction
processLeavingTail in interface TailCallReturnerprocessLeavingTail in class Instructioncontext - The dynamic context of the transformation, giving access to the current node,
the current variables, etc.
XPathException
public void display(int level,
NamePool pool,
java.io.PrintStream out)
display in interface Expressiondisplay in class SimpleNodeConstructor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||