public class AppendNewElementsOrderingPolicy extends NodeOrderingPolicy
Purpose:Provide an implementation of NodeOrderingPolicy that simply appends the new child element to the parent. This is the default for DescriptorLevelDocumentPreservationPolicy and NoDocumentPreservationPolicy
NodeOrderingPolicy
Constructor and Description |
---|
AppendNewElementsOrderingPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
appendNode(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node previousSibling) |
public void appendNode(org.w3c.dom.Node parent, org.w3c.dom.Node newChild, org.w3c.dom.Node previousSibling)
appendNode
in class NodeOrderingPolicy