Go to the documentation of this file.
   22 #if !defined(XERCESC_INCLUDE_GUARD_XMLENTITYDECL_HPP) 
   23 #define XERCESC_INCLUDE_GUARD_XMLENTITYDECL_HPP 
   28 #include <xercesc/internal/XSerializable.hpp> 
   73         const   XMLCh* 
const    entName
 
   87         const   XMLCh* 
const    entName
 
   88         , 
const XMLCh* 
const    value
 
  102         const   XMLCh* 
const    entName
 
  133     virtual bool getDeclaredInIntSubset() 
const = 0;
 
  140     virtual bool getIsParameter() 
const = 0;
 
  147     virtual bool getIsSpecialChar() 
const = 0;
 
  170     const XMLCh* getName() 
const;
 
  176     const XMLCh* getNotationName() 
const;
 
  182     const XMLCh* getPublicId() 
const;
 
  188     const XMLCh* getSystemId() 
const;
 
  193     const XMLCh* getBaseURI() 
const;
 
  200     const XMLCh* getValue() 
const;
 
  213     bool isExternal() 
const;
 
  220     bool isUnparsed() 
const;
 
  251         const   XMLCh* 
const    entName
 
  259     void setIsExternal(
bool value);
 
  267     void setNotationName(
const XMLCh* 
const newName);
 
  275     void setPublicId(
const XMLCh* 
const newId);
 
  286     void setSystemId(
const XMLCh* 
const newId);
 
  294     void setBaseURI(
const XMLCh* 
const newId);
 
  303     void setValue(
const XMLCh* 
const newValue);
 
  324     const XMLCh* getKey() 
const;
 
  379     XMLCh*          fNotationName;
 
  403     return fNotationName;
 
  439     return (fNotationName != 0);
 
  444     return fMemoryManager;
 
  
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
void setSystemId(const XMLCh *const newId)
This method will set a new sysetm id on this entity.
Definition: XMLEntityDecl.hpp:476
const XMLCh * getSystemId() const
Gets the system id declared for this entity.
Definition: XMLEntityDecl.hpp:411
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
static char * replicate(const char *const toRep, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Replicates a string NOTE: The returned buffer is allocated with the MemoryManager.
void setPublicId(const XMLCh *const newId)
This method will set a new public id on this entity.
Definition: XMLEntityDecl.hpp:468
XMLSize_t getId() const
Gets the pool id of this entity.
Definition: XMLEntityDecl.hpp:391
const XMLCh * getName() const
Returns a const pointer to the name of this entity decl.
Definition: XMLEntityDecl.hpp:396
This class defines that core information that defines an XML entity, no matter what validator is used...
Definition: XMLEntityDecl.hpp:50
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
void setNotationName(const XMLCh *const newName)
This method will set the notation name for this entity.
Definition: XMLEntityDecl.hpp:460
const XMLCh * getNotationName() const
Gets the notation name, if any, declared for this entity.
Definition: XMLEntityDecl.hpp:401
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
const XMLCh * getKey() const
This method allows objects of this class to be used within a standard keyed collection used commonly ...
Definition: XMLEntityDecl.hpp:505
static XMLSize_t stringLen(const char *const src)
Get the length of the string.
virtual void deallocate(void *p)=0
This method deallocates memory.
bool isUnparsed() const
Indicates whether this entity is unparsed.
Definition: XMLEntityDecl.hpp:436
bool isExternal() const
Indicates that this entity is an external entity.
Definition: XMLEntityDecl.hpp:431
void setBaseURI(const XMLCh *const newId)
This method will set a new baseURI on this entity.
Definition: XMLEntityDecl.hpp:484
void setValue(const XMLCh *const newValue)
This method will set a new value for this entity.
Definition: XMLEntityDecl.hpp:492
XMLSize_t getValueLen() const
This method returns the number of characters in the value returned by getValue().
Definition: XMLEntityDecl.hpp:426
MemoryManager * getMemoryManager() const
Get the plugged-in memory manager.
Definition: XMLEntityDecl.hpp:442
void setIsExternal(bool value)
This method will mark whether the entity is external.
Definition: XMLEntityDecl.hpp:455
const XMLCh * getPublicId() const
Gets the public id declared for this entity.
Definition: XMLEntityDecl.hpp:406
Configurable memory manager.
Definition: MemoryManager.hpp:39
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
const XMLCh * getBaseURI() const
Gets the base URI for this entity.
Definition: XMLEntityDecl.hpp:416
void setId(const XMLSize_t newId)
Definition: XMLEntityDecl.hpp:450
const XMLCh * getValue() const
This method returns the value of an internal entity.
Definition: XMLEntityDecl.hpp:421