22 #if !defined(XERCESC_INCLUDE_GUARD_XMLNOTATIONDECL_HPP) 23 #define XERCESC_INCLUDE_GUARD_XMLNOTATIONDECL_HPP 28 #include <xercesc/internal/XSerializable.hpp> 53 const XMLCh*
const notName
54 ,
const XMLCh*
const pubId
55 ,
const XMLCh*
const sysId
56 ,
const XMLCh*
const baseURI = 0
71 const XMLCh* getName()
const;
72 const XMLCh* getPublicId()
const;
73 const XMLCh* getSystemId()
const;
74 const XMLCh* getBaseURI()
const;
75 unsigned int getNameSpaceId()
const;
85 const XMLCh*
const notName
87 void setPublicId(
const XMLCh*
const newId);
88 void setSystemId(
const XMLCh*
const newId);
89 void setBaseURI(
const XMLCh*
const newId);
90 void setNameSpaceId(
const unsigned int newId);
95 const XMLCh* getKey()
const;
136 unsigned int fNameSpaceId;
180 return fMemoryManager;
193 fNameSpaceId = newId;
199 fMemoryManager->deallocate(fPublicId);
207 fMemoryManager->deallocate(fSystemId);
215 fMemoryManager->deallocate(fBaseURI);
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:40
XMLSize_t getId() const
Definition: XMLNotationDecl.hpp:148
This class represents the core information about a notation declaration that all validators must at l...
Definition: XMLNotationDecl.hpp:41
const XMLCh * getBaseURI() const
Definition: XMLNotationDecl.hpp:173
const XMLCh * getKey() const
Definition: XMLNotationDecl.hpp:224
void setNameSpaceId(const unsigned int newId)
Definition: XMLNotationDecl.hpp:191
const XMLCh * getName() const
Definition: XMLNotationDecl.hpp:153
unsigned int getNameSpaceId() const
Definition: XMLNotationDecl.hpp:158
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
void setBaseURI(const XMLCh *const newId)
Definition: XMLNotationDecl.hpp:212
Configurable memory manager.
Definition: MemoryManager.hpp:39
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
MemoryManager * getMemoryManager() const
Definition: XMLNotationDecl.hpp:178
const XMLCh * getSystemId() const
Definition: XMLNotationDecl.hpp:168
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
const XMLCh * getPublicId() const
Definition: XMLNotationDecl.hpp:163
void setPublicId(const XMLCh *const newId)
Definition: XMLNotationDecl.hpp:196
void setSystemId(const XMLCh *const newId)
Definition: XMLNotationDecl.hpp:204
void setId(const XMLSize_t newId)
Definition: XMLNotationDecl.hpp:186