org.apache.xerces.dom

Class DeferredTextImpl

public class DeferredTextImpl extends TextImpl implements DeferredNode

Text nodes hold the non-markup, non-Entity content of an Element or Attribute.

When a document is first made available to the DOM, there is only one Text object for each block of adjacent plain-text. Users (ie, applications) may create multiple adjacent Texts during editing -- see {@link org.w3c.dom.Element#normalize} for discussion.

Note that CDATASection is a subclass of Text. This is conceptually valid, since they're really just two different ways of quoting characters when they're written out as part of an XML stream.

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

Version: $Id: DeferredTextImpl.java,v 1.14 2004/10/05 17:12:50 mrglavas Exp $

UNKNOWN:

Field Summary
protected intfNodeIndex
Node index.
Method Summary
intgetNodeIndex()
Returns the node index.
protected voidsynchronizeData()
Synchronizes the underlying data.

Field Detail

fNodeIndex

protected transient int fNodeIndex
Node index.

Method Detail

getNodeIndex

public int getNodeIndex()
Returns the node index.

synchronizeData

protected void synchronizeData()
Synchronizes the underlying data.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.