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.
DeferredElementNSImpl
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 |
Modifier and Type | Method and Description |
---|---|
public final int | getNodeIndex()
Implements com. Returns the node index. |
protected final void | synchronizeChildren()
Overrides com. Override this method in subclass to hook in efficient internal data structure. |
protected final void | synchronizeData()
Overrides com. Synchronizes the data (name and value) for fast nodes. |
fNodeIndex | back to summary |
---|---|
protected transient int fNodeIndex Node index. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. Serialization version. |
DeferredElementImpl | back to summary |
---|---|
pack-priv DeferredElementImpl(DeferredDocumentImpl ownerDoc, 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 final int getNodeIndex() Implements com. Returns the node index. |
synchronizeChildren | back to summary |
---|---|
protected final void synchronizeChildren() Overrides com. Doc from com. Override this method in subclass to hook in efficient internal data structure. |
synchronizeData | back to summary |
---|---|
protected final void synchronizeData() Overrides com. Synchronizes the data (name and value) for fast nodes. |