#include <Pt/Xml/Entity.h>
An entity declaration in a DTD.
Public Member Functions | |
Entity (const Pt::String &name) | |
Constructs with entity name. | |
bool | isExternal () const |
Returns true if the entity in external. | |
bool | isInternal () const |
Returns true if the entity in internal. | |
bool | isUnparsed () const |
Indicates if the entity is unparsed (NDATA). | |
const Pt::String & | name () const |
Returns the name of the entity. | |
const Pt::String & | notationName () const |
Returns the name of the notation. | |
const Pt::String & | publicId () const |
Returns the public ID of the entity. | |
void | setPublicId (const Pt::String &pubId) |
Sets the public ID of the entity. | |
void | setSystemId (const Pt::String &sysId) |
Sets the system ID of the entity. | |
void | setUnparsed (const Pt::String ¬ation) |
Sets the notation of an unparsed entity (NDATA). | |
void | setValue (const Pt::String &val) |
Sets the value of the entity. | |
const Pt::String & | systemId () const |
Returns the system ID of the entity. | |
const Pt::String & | value () const |
Returns the value of the entity. | |
Pt::String & | value () |
Returns the value of the entity. | |