weblogic.apache.xerces.dom
Class DeferredTextImpl
java.lang.Object
|
+--weblogic.apache.xerces.dom.NodeImpl
|
+--weblogic.apache.xerces.dom.ChildNode
|
+--weblogic.apache.xerces.dom.CharacterDataImpl
|
+--weblogic.apache.xerces.dom.TextImpl
|
+--weblogic.apache.xerces.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 Node.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.
This class is based on an implementation from the Apache XML
Project. In future releases the XML parser, XSLT processor, and
associated classes will likely be updated to be based on a later
version of the Apache implementations. Since Apache does not guarantee
backwards compatibility between versions of their software, we cannot
guarantee backwards compatibility of any of the classes contained in
the weblogic.apache package or sub-packages.
- See Also:
- Serialized Form
Field Summary
|
protected int |
fNodeIndex
Node index. |
Fields inherited from class weblogic.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE,
FIRSTCHILD,
flags,
HASSTRING,
IDATTRIBUTE,
IGNORABLEWS,
OWNED,
ownerNode,
READONLY,
SPECIFIED,
SYNCCHILDREN,
SYNCDATA,
TREE_POSITION_ANCESTOR,
TREE_POSITION_DESCENDANT,
TREE_POSITION_DISCONNECTED,
TREE_POSITION_EQUIVALENT,
TREE_POSITION_FOLLOWING,
TREE_POSITION_PRECEDING,
TREE_POSITION_SAME_NODE,
UNNORMALIZED |
Methods inherited from class weblogic.apache.xerces.dom.TextImpl |
getIsWhitespaceInElementContent,
getNodeName,
getNodeType,
getWholeText,
isIgnorableWhitespace,
removeData,
replaceData,
replaceWholeText,
setIgnorableWhitespace,
setValues,
splitText |
Methods inherited from class weblogic.apache.xerces.dom.CharacterDataImpl |
appendData,
deleteData,
getChildNodes,
getData,
getLength,
getNodeValue,
insertData,
replaceData,
setData,
setNodeValue,
setNodeValueInternal,
substringData |
Methods inherited from class weblogic.apache.xerces.dom.NodeImpl |
addEventListener,
appendChild,
changed,
changes,
compareTreePosition,
dispatchEvent,
getAttributes,
getBaseURI,
getFirstChild,
getInterface,
getLastChild,
getLocalName,
getNamespaceURI,
getOwnerDocument,
getPrefix,
getReadOnly,
getTextContent,
getUserData,
getUserData,
hasAttributes,
hasChildNodes,
insertBefore,
isDefaultNamespace,
isEqualNode,
isSameNode,
isSupported,
item,
lookupNamespacePrefix,
lookupNamespaceURI,
needsSyncChildren,
normalize,
removeChild,
removeEventListener,
replaceChild,
setPrefix,
setReadOnly,
setTextContent,
setUserData,
setUserData,
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