com.ibm.xml.dom
Class DeferredTextImpl
java.lang.Object
|
+--com.ibm.xml.dom.NodeImpl
|
+--com.ibm.xml.dom.CharacterDataImpl
|
+--com.ibm.xml.dom.TextImpl
|
+--com.ibm.xml.dom.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 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:
- Revision: 41 1.3 src/com/ibm/xml/dom/DeferredTextImpl.java, parser, xml4j2, xml4j2_0_15
- See Also:
- Serialized Form
Field Summary |
protected int |
fNodeIndex
Node index. |
Fields inherited from class com.ibm.xml.dom.NodeImpl |
ELEMENT_DEFINITION_NODE,
firstChild,
kidOK,
lastChild,
name,
nextSibling,
ownerDocument,
parentNode,
previousSibling,
readOnly,
syncChildren,
syncData,
userData,
value |
Methods inherited from class com.ibm.xml.dom.NodeImpl |
appendChild,
changed,
getAttributes,
getFirstChild,
getLastChild,
getNextSibling,
getNodeValue,
getOwnerDocument,
getParentNode,
getPreviousSibling,
getReadOnly,
getUserData,
hasChildNodes,
insertBefore,
isKidOK,
item,
removeChild,
replaceChild,
setNodeValue,
setReadOnly,
setUserData,
synchronizeChildren,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
fNodeIndex
protected transient int fNodeIndex
- Node index.
getNodeIndex
public int getNodeIndex()
- Returns the node index.
- Specified by:
- getNodeIndex in interface DeferredNode
synchronizeData
protected void synchronizeData()
- Synchronizes the underlying data.
- Overrides:
- synchronizeData in class NodeImpl