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().
*/
class CDOM_EXPORT IDOM_Entity: public IDOM_Node {
protected:
IDOM_Entity() {};
IDOM_Entity(const IDOM_Entity &other) {};
IDOM_Entity & operator = (const IDOM_Entity &other) {return *this;};
public:
virtual ~IDOM_Entity() {};
/** @name Get functions. */
//@{
/**
* The public identifier associated with the entity, if specified.
*
* If the public identifier was not specified, this is null.
*/
virtual const XMLCh * getPublicId() const = 0;
/**
* The system identifier associated with the entity, if specified.
*
* If the system identifier was not specified, this is null.
*/
virtual const XMLCh * getSystemId() const = 0;
/**
* For unparsed entities, the name of the notation for the entity.
*
* For parsed entities, this is null.
*/
virtual const XMLCh * getNotationName() const = 0;
//@}
};
#endif