EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence.oxm.documentpreservation
Class RelativePositionOrderingPolicy

java.lang.Object
  extended by 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

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 interface NodeOrderingPolicy

EclipseLink1.0 - 20080707 API Reference