org.apache.xalan.transformer
Class ClonerToResultTree

java.lang.Object
  extended by org.apache.xalan.transformer.ClonerToResultTree

public class ClonerToResultTree
extends java.lang.Object

Class used to clone a node, possibly including its children to a result tree.


Constructor Summary
ClonerToResultTree()
           
 
Method Summary
static void cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes)
          Clone an element with or without children.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClonerToResultTree

public ClonerToResultTree()
Method Detail

cloneToResultTree

public static void cloneToResultTree(int node,
                                     int nodeType,
                                     DTM dtm,
                                     SerializationHandler rth,
                                     boolean shouldCloneAttributes)
                              throws javax.xml.transform.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 clone
shouldCloneAttributes - Flag indicating whether to clone children attributes
Throws:
javax.xml.transform.TransformerException