Class DeferredElementNSImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, DeferredNode, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class DeferredElementNSImpl
    extends ElementNSImpl
    implements DeferredNode
    DeferredElementNSImpl is to ElementNSImpl, what DeferredElementImpl is to ElementImpl.

    INTERNAL:

    Usage of this class is not supported. It may be altered or removed at any time.
    See Also:
    DeferredElementImpl, Serialized Form
    • Field Detail

      • fNodeIndex

        protected transient int fNodeIndex
        Node index.
    • Method Detail

      • getNodeIndex

        public final int getNodeIndex()
        Returns the node index.
        Specified by:
        getNodeIndex in interface DeferredNode
      • synchronizeData

        protected final void synchronizeData()
        Synchronizes the data (name and value) for fast nodes.
        Overrides:
        synchronizeData in class ElementImpl
      • synchronizeChildren

        protected final void synchronizeChildren()
        Synchronizes the node's children with the internal structure. Fluffing the children at once solves a lot of work to keep the two structures in sync. The problem gets worse when editing the tree -- this makes it a lot easier.
        Overrides:
        synchronizeChildren in class ParentNode