Creates a clone of this node.
When cloning, it can be specified whether we want to clone also the available preprocessing information (the lists of processors that should be applicable to each node), and also the new parent to be assigned to the DOM tree resulting from cloning (parent can be null).
Node cloning is always performed in depth.
@param newParent the new parent node of the resulting cloned DOM tree, if any (can be specifiedas null). @param cloneProcessors whether the lists of applicable processors for each node shouldalso be cloned or not. @return the cloned node.
|
|