EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.oxm.documentpreservation
Class RelativePositionOrderingPolicy

java.lang.Object
  extended by org.eclipse.persistence.oxm.documentpreservation.NodeOrderingPolicy
      extended by 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)

Constructor Summary
RelativePositionOrderingPolicy()
           
 
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
 

Constructor Detail

RelativePositionOrderingPolicy

public RelativePositionOrderingPolicy()
Method Detail

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

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference