public class

DeferredElementImpl

extends ElementImpl
implements DeferredNode
java.lang.Object
   ↳ org.apache.xerces.dom.NodeImpl
     ↳ org.apache.xerces.dom.ChildNode
       ↳ org.apache.xerces.dom.ParentNode
         ↳ org.apache.xerces.dom.ElementImpl
           ↳ org.apache.xerces.dom.DeferredElementImpl

Class Overview

Elements represent most of the "markup" and structure of the document. They contain both the data for the element itself (element name and attributes), and any contained nodes, including document text (as children).

Elements may have Attributes associated with them; the API for this is defined in Node, but the function is implemented here. In general, XML applications should retrive Attributes as Nodes, since they may contain entity references and hence be a fairly complex sub-tree. HTML users will be dealing with simple string values, and convenience methods are provided to work in terms of Strings.

DeferredElementImpl inherits from ElementImpl which does not support Namespaces. DeferredElementNSImpl, which inherits from ElementNSImpl, does.@xerces.internal

Summary

[Expand]
Inherited Constants
From class org.apache.xerces.dom.NodeImpl
From interface org.apache.xerces.dom.DeferredNode
From interface org.w3c.dom.Node
From interface org.w3c.dom.TypeInfo
Fields
protected int fNodeIndex Node index.
[Expand]
Inherited Fields
From class org.apache.xerces.dom.ElementImpl
From class org.apache.xerces.dom.ParentNode
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
Public Methods
final int getNodeIndex()
Returns the node index.
Protected Methods
final void synchronizeChildren()
Override this method in subclass to hook in efficient internal data structure.
final void synchronizeData()
Synchronizes the data (name and value) for fast nodes.
[Expand]
Inherited Methods
From class org.apache.xerces.dom.ElementImpl
From class org.apache.xerces.dom.ParentNode
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
From class java.lang.Object
From interface org.apache.xerces.dom.DeferredNode
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.NodeList
From interface org.w3c.dom.TypeInfo
From interface org.w3c.dom.events.EventTarget

Fields

protected int fNodeIndex

Node index.

Public Methods

public final int getNodeIndex ()

Returns the node index.

Protected Methods

protected final void synchronizeChildren ()

Override this method in subclass to hook in efficient internal data structure.

protected final void synchronizeData ()

Synchronizes the data (name and value) for fast nodes.