This class defines that core information that defines an XML entity, no matter what validator is used
This class defines that core information that defines an XML entity, no matter what validator is used. Each validator will create a derivative of this class which adds any extra information it requires. This class supports keyed collection semantics via the getKey() method which extracts the key field, the entity name in this case. The name will have whatever form is deemed appropriate for the type of validator in use. 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.
XMLEntityDecl( const XMLCh* const entName )
XMLEntityDecl( const XMLCh* const entName, const XMLCh* const value )
value - The new value to give to this entity name. XMLEntityDecl( const XMLCh* const entName, const XMLCh value )
value - The new value to give to this entity name.
virtual bool getIsParameter() const
virtual bool getIsSpecialChar() const
const XMLCh* getName() const
const XMLCh* getNotationName() const
const XMLCh* getPublicId() const
const XMLCh* getSystemId() const
const XMLCh* getValue() const
unsigned int getValueLen() const
bool isExternal() const
bool isUnparsed() const
void setNotationName(const XMLCh* const newName)
void setPublicId(const XMLCh* const newId)
void setSystemId(const XMLCh* const newId)
void setValue(const XMLCh* const newValue)
alphabetic index hierarchy of classes
Xerces-C XML Parser for C++ Version 1.1 |
|
generated by doc++