|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.instruct.Instruction
net.sf.saxon.instruct.ParentNodeConstructor
net.sf.saxon.instruct.ElementCreator
net.sf.saxon.instruct.Copy
public class Copy
Handler for xsl:copy elements in stylesheet.
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.instruct.ElementCreator |
|---|
inheritNamespaces |
| Fields inherited from class net.sf.saxon.instruct.ParentNodeConstructor |
|---|
content, validation |
| Fields inherited from class net.sf.saxon.expr.ComputedExpression |
|---|
locationId, staticProperties |
| Fields inherited from interface net.sf.saxon.expr.Expression |
|---|
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
| 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)
Evaluate the instruction to produce a new element node. |
| Methods inherited from class net.sf.saxon.instruct.ElementCreator |
|---|
computeSpecialProperties, getImplementationMethod, getValidationMode, setValidationMode, suppressValidation |
| Methods inherited from class net.sf.saxon.instruct.ParentNodeConstructor |
|---|
createsNewNodes, getCardinality, getContentExpression, getSchemaType, getValidationAction, isLazyConstruction, isNamespaceSensitive, iterateSubExpressions, optimize, promoteInst, setContentExpression, setLazyConstruction, setSchemaType, simplify, typeCheck, verifyLazyConstruction |
| Methods inherited from class net.sf.saxon.instruct.Instruction |
|---|
appendItem, assembleParams, assembleTunnelParams, computeCardinality, dynamicError, evaluateAsString, getInstructionInfo, getSourceLocator, isXSLT, iterate, process, promote |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.transform.SourceLocator |
|---|
getColumnNumber, getLineNumber, getPublicId, getSystemId |
| Constructor Detail |
|---|
public Copy(boolean copyNamespaces,
boolean inheritNamespaces,
SchemaType schemaType,
int validation)
| Method Detail |
|---|
public int getInstructionNameCode()
getInstructionNameCode in class Instructionpublic ItemType getItemType(TypeHierarchy th)
getItemType in interface ExpressiongetItemType in class ElementCreatorth -
public int getNameCode(XPathContext context)
throws XPathException
getNameCode in class ElementCreatorcontext -
XPathException
protected void outputNamespaceNodes(XPathContext context,
Receiver receiver)
throws XPathException
outputNamespaceNodes in class ElementCreatorcontext - The execution contextreceiver - the Receiver where the namespace nodes are to be written
XPathException
public int[] getActiveNamespaces()
throws XPathException
getActiveNamespaces in class ElementCreatorXPathException
public TailCall processLeavingTail(XPathContext context)
throws XPathException
ElementCreator
processLeavingTail in interface TailCallReturnerprocessLeavingTail in class ElementCreatorcontext - The dynamic context of the transformation, giving access to the current node,
the current variables, etc.
XPathException
public Item evaluateItem(XPathContext context)
throws XPathException
evaluateItem in interface ExpressionevaluateItem in class ElementCreatorcontext - The context in which the expression is to be evaluated
XPathException - if any dynamic error occurs evaluating the
expression
public void display(int level,
NamePool pool,
PrintStream out)
level - indentation level for this expressionout - pool - NamePool used to expand any names appearing in the expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||