Entity Class Reference

#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::Stringname () const
 Returns the name of the entity.
 
const Pt::StringnotationName () const
 Returns the name of the notation.
 
const Pt::StringpublicId () 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 &notation)
 Sets the notation of an unparsed entity (NDATA).
 
void setValue (const Pt::String &val)
 Sets the value of the entity.
 
const Pt::StringsystemId () const
 Returns the system ID of the entity.
 
const Pt::Stringvalue () const
 Returns the value of the entity.
 
Pt::Stringvalue ()
 Returns the value of the entity.