| net.sf.saxon.instruct.Instruction net.sf.saxon.instruct.ParentNodeConstructor net.sf.saxon.instruct.ElementCreator net.sf.saxon.instruct.Copy
Constructor Summary | |
public | Copy(boolean copyNamespaces, boolean inheritNamespaces, SchemaType schemaType, int validation) |
Copy | public Copy(boolean copyNamespaces, boolean inheritNamespaces, SchemaType schemaType, int validation)(Code) | | |
display | public void display(int level, NamePool pool, PrintStream out)(Code) | | Diagnostic print of expression structure. The expression is written to the System.err
output stream
Parameters: level - indentation level for this expression Parameters: out - |
evaluateItem | public Item evaluateItem(XPathContext context) throws XPathException(Code) | | Evaluate as an expression. We rely on the fact that when these instructions
are generated by XQuery, there will always be a valueExpression to evaluate
the content
|
getActiveNamespaces | public int[] getActiveNamespaces() throws XPathException(Code) | | Callback to get a list of the intrinsic namespaces that need to be generated for the element.
The result is an array of namespace codes, the codes either occupy the whole array or are
terminated by a -1 entry. A result of null is equivalent to a zero-length array.
|
getInstructionNameCode | public int getInstructionNameCode()(Code) | | Get the name of this instruction for diagnostic and tracing purposes
|
getItemType | public ItemType getItemType(TypeHierarchy th)(Code) | | Get the item type of the result of this instruction.
The context item type. Parameters: th - |
getNameCode | public int getNameCode(XPathContext context) throws XPathException(Code) | | Callback from ElementCreator when constructing an element
Parameters: context - the namecode of the element to be constructed throws: XPathException - |
outputNamespaceNodes | protected void outputNamespaceNodes(XPathContext context, Receiver receiver) throws XPathException(Code) | | Callback to output namespace nodes for the new element.
Parameters: context - The execution context Parameters: receiver - the Receiver where the namespace nodes are to be written throws: XPathException - |
Fields inherited from net.sf.saxon.instruct.ElementCreator | protected boolean inheritNamespaces(Code)(Java Doc)
|
|
|