net.sf.saxon.instruct
public final class ValueOf extends SimpleNodeConstructor
| Constructor Summary | |
|---|---|
| ValueOf(Expression select, boolean disable, boolean noNodeIfEmpty) | |
| Method Summary | |
|---|---|
| void | checkPermittedContents(SchemaType parentType, StaticContext env, boolean whole)
Check statically that the results of the expression are capable of constructing the content
of a given schema type.
|
| int | computeCardinality() |
| void | display(int level, NamePool pool, PrintStream out)
Display this instruction as an expression, for diagnostics |
| Item | evaluateItem(XPathContext context) |
| int | getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes |
| ItemType | getItemType(TypeHierarchy th) |
| void | localTypeCheck(StaticContext env, ItemType contextItemType) |
| TailCall | processLeavingTail(XPathContext context) |
| protected void | promoteInst(PromotionOffer offer)
Offer promotion for subexpressions. |
| void | setIsNumberingInstruction()
Indicate that this is really an xsl:nunber instruction |
Parameters: parentType The schema type env the static context whole
Throws: net.sf.saxon.trans.XPathException if the expression doesn't match the required content type
Parameters: offer 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
Throws: XPathException if any error is detected