org.apache.xerces.dom

Class DeferredElementImpl

public class DeferredElementImpl extends ElementImpl implements DeferredNode

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.

Since: PR-DOM-Level-1-19980818.

Version: $Id: DeferredElementImpl.java,v 1.18 2004/10/05 17:12:51 mrglavas Exp $

See Also:

UNKNOWN:

Field Summary
protected intfNodeIndex
Node index.
Method Summary
intgetNodeIndex()
Returns the node index.
protected voidsynchronizeChildren()
protected voidsynchronizeData()
Synchronizes the data (name and value) for fast nodes.

Field Detail

fNodeIndex

protected transient int fNodeIndex
Node index.

Method Detail

getNodeIndex

public final int getNodeIndex()
Returns the node index.

synchronizeChildren

protected final void synchronizeChildren()

synchronizeData

protected final void synchronizeData()
Synchronizes the data (name and value) for fast nodes.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.