net.sf.saxon.instruct
public class NamespaceConstructor extends SimpleNodeConstructor
Constructor Summary | |
---|---|
NamespaceConstructor(Expression name)
Create an xsl:namespace instruction for dynamic construction of namespace nodes |
Method Summary | |
---|---|
Expression | copy()
Copy an expression. |
Item | evaluateItem(XPathContext context)
Evaluate as an expression. |
int | evaluateNameCode(XPathContext context) |
void | explain(ExpressionPresenter out)
Diagnostic print of expression structure. |
int | getCardinality() |
int | getInstructionNameCode()
Set the name of this instruction for diagnostic and tracing purposes |
ItemType | getItemType(TypeHierarchy th) |
Iterator<Expression> | iterateSubExpressions() |
void | localTypeCheck(ExpressionVisitor visitor, ItemType contextItemType) |
void | processValue(CharSequence value, XPathContext context) |
protected void | promoteInst(PromotionOffer offer) |
boolean | replaceSubExpression(Expression original, Expression replacement)
Replace one subexpression by a replacement subexpression |
Expression | simplify(ExpressionVisitor visitor) |
Parameters: name the expression to evaluate the name of the node (that is, the prefix)
Returns: the copy of the original expression
Parameters: original the original subexpression replacement the replacement subexpression
Returns: true if the original subexpression is found