org.eclipse.persistence.oxm.documentpreservation
public class RelativePositionOrderingPolicy extends NodeOrderingPolicy
Purpose:An implementation of NodeOrderingPolicy that adds new elements to an XML Document based on the last updated sibling in their context.
Responsibilities:Add a new element as a child based on the provided last updated sibling.
NodeOrderingPolicy
Constructor and Description |
---|
RelativePositionOrderingPolicy() |
public void appendNode(Node parent, Node newChild, Node previousSibling)
appendNode
in class NodeOrderingPolicy