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
 
  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;
 
 
#define XMLPARSER_EXPORT
Definition XercesDefs.hpp:163
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Configurable memory manager.
Definition MemoryManager.hpp:40
virtual void deallocate(void *p)=0
This method deallocates memory.
This class defines that core information that defines an XML entity, no matter what validator is used...
Definition XMLEntityDecl.hpp:51
const XMLCh * getSystemId() const
Gets the system id declared for this entity.
Definition XMLEntityDecl.hpp:411
bool isExternal() const
Indicates that this entity is an external entity.
Definition XMLEntityDecl.hpp:431
bool isUnparsed() const
Indicates whether this entity is unparsed.
Definition XMLEntityDecl.hpp:436
XMLSize_t getId() const
Gets the pool id of this entity.
Definition XMLEntityDecl.hpp:391
virtual bool getIsParameter() const =0
Get the 'is parameter entity' flag.
MemoryManager * getMemoryManager() const
Get the plugged-in memory manager.
Definition XMLEntityDecl.hpp:442
void setPublicId(const XMLCh *const newId)
This method will set a new public id on this entity.
Definition XMLEntityDecl.hpp:468
XMLEntityDecl(const XMLCh *const entName, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Constructor with a const entity name.
virtual ~XMLEntityDecl()
Default destructor.
XMLEntityDecl(const XMLCh *const entName, const XMLCh value, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Constructor with a const entity name and single XMLCh value.
const XMLCh * getPublicId() const
Gets the public id declared for this entity.
Definition XMLEntityDecl.hpp:406
void setId(const XMLSize_t newId)
Definition XMLEntityDecl.hpp:450
XMLEntityDecl(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Default Constructor.
const XMLCh * getNotationName() const
Gets the notation name, if any, declared for this entity.
Definition XMLEntityDecl.hpp:401
const XMLCh * getBaseURI() const
Gets the base URI for this entity.
Definition XMLEntityDecl.hpp:416
void setNotationName(const XMLCh *const newName)
This method will set the notation name for this entity.
Definition XMLEntityDecl.hpp:460
void setIsExternal(bool value)
This method will mark whether the entity is external.
Definition XMLEntityDecl.hpp:455
virtual bool getIsSpecialChar() const =0
Get the 'is special char entity' flag.
XMLEntityDecl(const XMLCh *const entName, const XMLCh *const value, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Constructor with a const entity name and value.
void setBaseURI(const XMLCh *const newId)
This method will set a new baseURI on this entity.
Definition XMLEntityDecl.hpp:484
void setName(const XMLCh *const entName)
This method will set the entity name.
XMLSize_t getValueLen() const
This method returns the number of characters in the value returned by getValue().
Definition XMLEntityDecl.hpp:426
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
void setSystemId(const XMLCh *const newId)
This method will set a new sysetm id on this entity.
Definition XMLEntityDecl.hpp:476
void setValue(const XMLCh *const newValue)
This method will set a new value for this entity.
Definition XMLEntityDecl.hpp:492
const XMLCh * getName() const
Returns a const pointer to the name of this entity decl.
Definition XMLEntityDecl.hpp:396
const XMLCh * getValue() const
This method returns the value of an internal entity.
Definition XMLEntityDecl.hpp:421
virtual bool getDeclaredInIntSubset() const =0
Get the 'declared in internal subset' flag.
static XMLSize_t stringLen(const char *const src)
Get the length of the string.
static char * replicate(const char *const toRep, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Replicates a string NOTE: The returned buffer is allocated with the MemoryManager.
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition XMemory.hpp:41