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 org.
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.
Modifier and Type | Field and Description |
---|---|
protected transient int | fNodeIndex
Node index. |
pack-priv static final long | serialVersionUID
Hides com. |
Access | Constructor and Description |
---|---|
pack-priv | DeferredTextImpl(DeferredDocumentImpl ownerDocument, int nodeIndex)
This is the deferred constructor. |
Modifier and Type | Method and Description |
---|---|
public int | getNodeIndex()
Implements com. Returns the node index. |
protected void | synchronizeData()
Overrides com. Synchronizes the underlying data. |
fNodeIndex | back to summary |
---|---|
protected transient int fNodeIndex Node index. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. Serialization version. |
DeferredTextImpl | back to summary |
---|---|
pack-priv DeferredTextImpl(DeferredDocumentImpl ownerDocument, int nodeIndex) This is the deferred constructor. Only the fNodeIndex is given here. All other data, can be requested from the ownerDocument via the index. |
getNodeIndex | back to summary |
---|---|
public int getNodeIndex() Implements com. Returns the node index. |
synchronizeData | back to summary |
---|---|
protected void synchronizeData() Overrides com. Synchronizes the underlying data. |