net.sf.saxon.instruct
public class Copy extends ElementCreator
Constructor Summary | |
---|---|
Copy(boolean copyNamespaces, boolean inheritNamespaces, SchemaType schemaType, int validation) |
Method Summary | |
---|---|
void | display(int level, NamePool pool, PrintStream out)
Diagnostic print of expression structure. |
Item | evaluateItem(XPathContext context)
Evaluate as an expression. |
int[] | getActiveNamespaces()
Callback to get a list of the intrinsic namespaces that need to be generated for the element.
|
int | getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes |
ItemType | getItemType(TypeHierarchy th)
Get the item type of the result of this instruction. |
int | getNameCode(XPathContext context)
Callback from ElementCreator when constructing an element |
protected void | outputNamespaceNodes(XPathContext context, Receiver receiver)
Callback to output namespace nodes for the new element. |
TailCall | processLeavingTail(XPathContext context) |
Parameters: level indentation level for this expression out
Parameters: th
Returns: The context item type.
Parameters: context
Returns: the namecode of the element to be constructed
Throws: XPathException
Parameters: context The execution context receiver the Receiver where the namespace nodes are to be written
Throws: XPathException