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