Class AppendNewElementsOrderingPolicy

  • public class AppendNewElementsOrderingPolicy
    extends NodeOrderingPolicy

    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:
    mmacivor, rbarkhouse - changed to subclass (NodeOrderingPolicy changed to abstract superclass)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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