Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.dom

public Class DeferredNotationImpl

extends NotationImpl
implements DeferredNode
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xerces.internal.dom.DeferredNode, org.w3c.dom.Node

Notations are how the Document Type Description (DTD) records hints about the format of an XML "unparsed entity" -- in other words, non-XML data bound to this document type, which some applications may wish to consult when manipulating the document. A Notation represents a name-value pair, with its nodeName being set to the declared name of the notation.

Notations are also used to formally declare the "targets" of Processing Instructions.

Note that the Notation's data is non-DOM information; the DOM only records what and where it is.

See the XML 1.0 spec, sections 4.7 and 2.6, for more info.

Level 1 of the DOM does not support editing Notation contents.

Since
PR-DOM-Level-1-19980818.

Field Summary

Modifier and TypeField and Description
protected transient int
fNodeIndex

Node index.

pack-priv static final long
Inherited from com.sun.org.apache.xerces.internal.dom.NotationImpl:
baseURInamepublicIdsystemId

Constructor Summary

AccessConstructor and Description
pack-priv
DeferredNotationImpl(DeferredDocumentImpl ownerDocument, int nodeIndex)

This is the deferred constructor.

Method Summary

Modifier and TypeMethod and Description
public int
protected void
Inherited from com.sun.org.apache.xerces.internal.dom.NotationImpl:
getBaseURIgetNodeNamegetNodeTypegetPublicIdgetSystemIdsetBaseURIsetPublicIdsetSystemId

Field Detail

fNodeIndexback to summary
protected transient int fNodeIndex

Node index.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xerces.internal.dom.NotationImpl.serialVersionUID.

Serialization version.

Constructor Detail

DeferredNotationImplback to summary
pack-priv DeferredNotationImpl(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.

Method Detail

getNodeIndexback to summary
public int getNodeIndex()

Implements com.sun.org.apache.xerces.internal.dom.DeferredNode.getNodeIndex.

Returns the node index.

synchronizeDataback to summary
protected void synchronizeData()

Overrides com.sun.org.apache.xerces.internal.dom.NodeImpl.synchronizeData.

Synchronizes the data. This is special because of the way that the "fast" notation stores its information internally.