org.eclipse.persistence.oxm.documentpreservation
Class RelativePositionOrderingPolicy
java.lang.Object
org.eclipse.persistence.oxm.documentpreservation.NodeOrderingPolicy
org.eclipse.persistence.oxm.documentpreservation.RelativePositionOrderingPolicy
public class RelativePositionOrderingPolicy
- extends NodeOrderingPolicy
INTERNAL:
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.
- See Also:
NodeOrderingPolicy
- Author:
- mmacivor, rbarkhouse - changed to subclass (NodeOrderingPolicy changed to abstract superclass)
Method Summary |
void |
appendNode(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node previousSibling)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelativePositionOrderingPolicy
public RelativePositionOrderingPolicy()
appendNode
public void appendNode(org.w3c.dom.Node parent,
org.w3c.dom.Node newChild,
org.w3c.dom.Node previousSibling)
- Specified by:
appendNode
in class NodeOrderingPolicy