org.eclipse.persistence.oxm.documentpreservation
Class RelativePositionOrderingPolicy
java.lang.Object
org.eclipse.persistence.oxm.documentpreservation.RelativePositionOrderingPolicy
- All Implemented Interfaces:
- NodeOrderingPolicy
public class RelativePositionOrderingPolicy
- extends java.lang.Object
- implements 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
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 interface NodeOrderingPolicy