Package org.apache.xalan.transformer
Class ClonerToResultTree
java.lang.Object
org.apache.xalan.transformer.ClonerToResultTree
Class used to clone a node, possibly including its children to
a result tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cloneToResultTree
(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes) Clone an element with or without children.
-
Constructor Details
-
ClonerToResultTree
public ClonerToResultTree()
-
-
Method Details
-
cloneToResultTree
public static void cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes) throws TransformerException Clone an element with or without children. TODO: Fix or figure out node clone failure! the error condition is severe enough to halt processing.- Parameters:
node
- The node to cloneshouldCloneAttributes
- Flag indicating whether to clone children attributes- Throws:
TransformerException
-