|
Public Member Functions |
void | setId (const unsigned int newId) |
|
| XMLEntityDecl (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| Deafult Constructor.
|
| XMLEntityDecl (const XMLCh *const entName, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| Constructor with a const entity name.
|
| XMLEntityDecl (const XMLCh *const entName, const XMLCh *const value, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| Constructor with a const entity name and value.
|
| XMLEntityDecl (const XMLCh *const entName, const XMLCh value, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| Constructor with a const entity name and single XMLCh value.
|
|
virtual | ~XMLEntityDecl () |
| Default destructor.
|
|
virtual bool | getDeclaredInIntSubset () const =0 |
| Get the 'declared in internal subset' flag.
|
virtual bool | getIsParameter () const =0 |
| Get the 'is parameter entity' flag.
|
virtual bool | getIsSpecialChar () const =0 |
| Get the 'is special char entity' flag.
|
|
unsigned int | getId () const |
| Gets the pool id of this entity.
|
const XMLCh * | getName () const |
| Returns a const pointer to the name of this entity decl.
|
const XMLCh * | getNotationName () const |
| Gets the notation name, if any, declared for this entity.
|
const XMLCh * | getPublicId () const |
| Gets the public id declared for this entity.
|
const XMLCh * | getSystemId () const |
| Gets the system id declared for this entity.
|
const XMLCh * | getBaseURI () const |
| Gets the base URI for this entity.
|
const XMLCh * | getValue () const |
| This method returns the value of an internal entity.
|
unsigned int | getValueLen () const |
| This method returns the number of characters in the value returned by getValue().
|
bool | isExternal () const |
| Indicates that this entity is an external entity.
|
bool | isUnparsed () const |
| Indicates whether this entity is unparsed.
|
MemoryManager * | getMemoryManager () const |
| Get the plugged-in memory manager.
|
|
void | setName (const XMLCh *const entName) |
| This method will set the entity name.
|
void | setNotationName (const XMLCh *const newName) |
| This method will set the notation name for this entity.
|
void | setPublicId (const XMLCh *const newId) |
| This method will set a new public id on this entity.
|
void | setSystemId (const XMLCh *const newId) |
| This method will set a new sysetm id on this entity.
|
void | setBaseURI (const XMLCh *const newId) |
| This method will set a new baseURI on this entity.
|
void | setValue (const XMLCh *const newValue) |
| This method will set a new value for this entity.
|
|
const XMLCh * | getKey () const |
| This method allows objects of this class to be used within a standard keyed collection used commonly within the parser system.
|
Each validator will create a derivative of this class which adds any extra information it requires.
When setting the fields of this class, you must make sure that you do not set conflicting values. For instance, an internal entity cannot have a notation name. And an external entity cannot have a value string. These rules are defined by the XML specification. In most cases, these objects are created by validator objects as they parse a DTD or Schema or whatever, at which time they confirm the correctness of the data before creating the entity decl object.