|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--net.sf.saxon.instruct.Instruction
|
+--net.sf.saxon.instruct.ExprInstruction
|
+--net.sf.saxon.instruct.ElementCreator
|
+--net.sf.saxon.instruct.Copy
Handler for xsl:copy elements in stylesheet.
| Field Summary |
| Fields inherited from class net.sf.saxon.instruct.ElementCreator |
schemaType, useAttributeSets, validation, validationContext |
| Fields inherited from class net.sf.saxon.instruct.Instruction |
children |
| Constructor Summary | |
Copy(AttributeSet[] useAttributeSets,
boolean copyNamespaces,
SchemaType schemaType,
int validation)
|
|
| Method Summary | |
void |
display(int level,
NamePool pool)
Diagnostic print of expression structure. |
java.lang.String |
getInstructionName()
Get the name of this instruction for diagnostic and tracing purposes |
protected int |
getNameCode(XPathContext context)
Callback from ElementCreator when constructing an element |
protected void |
getXPathExpressions(java.util.List list)
Get all the XPath expressions associated with this instruction (in XSLT terms, the expression present on attributes of the instruction, as distinct from the child instructions in a sequence construction) |
protected void |
outputNamespaceNodes(XPathContext context,
Receiver receiver)
Callback to output namespace nodes for the new element. |
TailCall |
processLeavingTail(XPathContext context)
Evaluate the instruction to produce a new element node |
| Methods inherited from class net.sf.saxon.instruct.ElementCreator |
analyze, evaluateItem, getCardinality, getItemType, getValidationContext, getValidationMode, promoteInst, setValidationContext, setValidationMode |
| Methods inherited from class net.sf.saxon.instruct.ExprInstruction |
effectiveBooleanValue, evaluateAsString, getDependencies, getSpecialProperties, getSubExpressions, iterate, promote, simplify |
| Methods inherited from class net.sf.saxon.instruct.Instruction |
assembleParams, assembleTunnelParams, displayChildren, dynamicError, dynamicError, getChildren, getColumnNumber, getExecutable, getInstructionNamespace, getLineNumber, getPublicId, getSourceLocator, getSystemId, process, processChildren, processChildrenLeavingTail, recoverableError, setChildren, setExecutable, setSourceLocation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Copy(AttributeSet[] useAttributeSets,
boolean copyNamespaces,
SchemaType schemaType,
int validation)
| Method Detail |
public java.lang.String getInstructionName()
getInstructionName in class Instruction
protected int getNameCode(XPathContext context)
throws javax.xml.transform.TransformerException
getNameCode in class ElementCreatorcontext -
javax.xml.transform.TransformerException
protected void outputNamespaceNodes(XPathContext context,
Receiver receiver)
throws javax.xml.transform.TransformerException
outputNamespaceNodes in class ElementCreatorcontext - The execution contextreceiver - the Receiver where the namespace nodes are to be written
javax.xml.transform.TransformerException
public TailCall processLeavingTail(XPathContext context)
throws javax.xml.transform.TransformerException
ElementCreator
processLeavingTail in interface InstrprocessLeavingTail in class ElementCreatorcontext -
javax.xml.transform.TransformerExceptionprotected void getXPathExpressions(java.util.List list)
ExprInstruction
getXPathExpressions in class ExprInstructionlist - A list to be populated with the list of XPath expressions
public void display(int level,
NamePool pool)
level - indentation level for this expression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||