Inheritance diagram for DOM_Entity:
Public Methods | |
Constructors and assignment operator | |
DOM_Entity () | |
DOM_Entity (const DOM_Entity &other) | |
DOM_Entity & | operator= (const DOM_Entity &other) |
DOM_Entity & | operator= (const DOM_NullPtr *val) |
Destructor. | |
~DOM_Entity () | |
Get functions. | |
DOMString | getPublicId () const |
DOMString | getSystemId () const |
DOMString | getNotationName () const |
DOM_Node | getFirstChild () const |
DOM_Node | getLastChild () const |
DOM_NodeList | getChildNodes () const |
bool | hasChildNodes () const |
DOM_Node | getPreviousSibling () const |
DOM_Node | getNextSibling () const |
Protected Methods | |
DOM_Entity (EntityImpl *impl) | |
Friends | |
class | DOM_Document |
Note that this models the entity itself not the entity declaration. Entity
declaration modeling has been left for a later Level of the DOM specification.
The nodeName
attribute that is inherited from Node
contains the name of the entity.
An XML processor may choose to completely expand entities before the structure model is passed to the DOM; in this case there will be no EntityReference
nodes in the document tree.
Note: the first release of this parser does not create entity nodes when reading an XML document. Entities may be programatically created using DOM_Document::createEntity().
|
Default constructor for DOM_Entity. |
|
Copy constructor.
|
|
Destructor for DOM_Entity. |
|
Gets a
If there are no children, this is a Reimplemented from DOM_Node. |
|
Gets the first child of this node.
If there is no such node, this returns Reimplemented from DOM_Node. |
|
Gets the last child of this node.
If there is no such node, this returns Reimplemented from DOM_Node. |
|
Gets the node immediately following this node.
If there is no such node, this returns Reimplemented from DOM_Node. |
|
For unparsed entities, the name of the notation for the entity.
For parsed entities, this is |
|
Gets the node immediately preceding this node.
If there is no such node, this returns Reimplemented from DOM_Node. |
|
The public identifier associated with the entity, if specified.
If the public identifier was not specified, this is |
|
The system identifier associated with the entity, if specified.
If the system identifier was not specified, this is |
|
This is a convenience method to allow easy determination of whether a node has any children.
Reimplemented from DOM_Node. |
|
Assignment operator. This overloaded variant is provided for the sole purpose of setting a DOM_Node reference variable to zero. Nulling out a reference variable in this way will decrement the reference count on the underlying Node object that the variable formerly referenced. This effect is normally obtained when reference variable goes out of scope, but zeroing them can be useful for global instances, or for local instances that will remain in scope for an extended time, when the storage belonging to the underlying node needs to be reclaimed.
Reimplemented from DOM_Node. |
|
Assignment operator.
|