EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference

org.eclipse.persistence.oxm.documentpreservation
Class AppendNewElementsOrderingPolicy

java.lang.Object
  extended by org.eclipse.persistence.oxm.documentpreservation.NodeOrderingPolicy
      extended by org.eclipse.persistence.oxm.documentpreservation.AppendNewElementsOrderingPolicy

public class AppendNewElementsOrderingPolicy
extends NodeOrderingPolicy

INTERNAL:

Purpose:Provide an implementation of NodeOrderingPolicy that simply appends the new child element to the parent. This is the default for DescriptorLevelDocumentPreservationPolicy and NoDocumentPreservationPolicy

See Also:
NodeOrderingPolicy
Author:
mmacivor, rbarkhouse - changed to subclass (NodeOrderingPolicy changed to abstract superclass)

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

AppendNewElementsOrderingPolicy

public AppendNewElementsOrderingPolicy()
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 1.1.1_ 1.1.1.v20090430-r4097 API Reference