Go to the documentation of this file.
   22 #if !defined(XERCESC_INCLUDE_GUARD_XMLELEMENTDECL_HPP) 
   23 #define XERCESC_INCLUDE_GUARD_XMLELEMENTDECL_HPP 
   29 #include <xercesc/internal/XSerializable.hpp> 
   33 class ContentSpecNode;
 
  103     static const XMLCh          fgPCDataElemName[];
 
  151     virtual bool hasAttDefs() 
const = 0;
 
  160     virtual const ContentSpecNode* getContentSpec() 
const = 0;
 
  167     virtual ContentSpecNode* getContentSpec() = 0;
 
  178     virtual void setContentSpec(ContentSpecNode* toAdopt) = 0;
 
  204     virtual void setContentModel(
XMLContentModel* 
const newModelToAdopt) = 0;
 
  218     virtual const XMLCh* getFormattedContentModel ()   
const = 0;
 
  237     const XMLCh* getBaseName() 
const;
 
  238     XMLCh* getBaseName();
 
  246     unsigned int getURI() 
const;
 
  255     const QName* getElementName() 
const;
 
  256     QName* getElementName();
 
  266     const XMLCh* getFullName() 
const;
 
  301     bool isDeclared() 
const;
 
  311     bool isExternal() 
const;
 
  342       void setElementName(
const XMLCh* 
const       prefix
 
  343                         , 
const XMLCh* 
const       localPart
 
  355       void setElementName(
const XMLCh* 
const    rawName
 
  366       void setElementName(
const QName* 
const    elementName);
 
  392     void setExternalElemDeclaration(
const bool aValue);
 
  420     static void            storeElementDecl(XSerializeEngine&        serEng
 
  466     bool                fExternalElement;
 
  485     return fElementName->
getURI();
 
  505     return fCreateReason;
 
  521     return fExternalElement;
 
  526     return fMemoryManager;
 
  536     fCreateReason = newReason;
 
  547     fExternalElement = aValue;
 
  
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
CreateReasons getCreateReason() const
Get the create reason for this element type.
Definition: XMLElementDecl.hpp:503
const XMLCh * getLocalPart() const
Definition: QName.hpp:177
CreateReasons
Definition: XMLElementDecl.hpp:69
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
This class defines the core information of an element declaration.
Definition: XMLElementDecl.hpp:51
This class defines the abstract interface for all content models.
Definition: XMLContentModel.hpp:46
static const unsigned int fgInvalidElemId
Definition: XMLElementDecl.hpp:101
const XMLCh * getFullName() const
Get the full name of this element type.
Definition: XMLElementDecl.hpp:498
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
void setExternalElemDeclaration(const bool aValue)
Set the element decl to indicate external declaration.
Definition: XMLElementDecl.hpp:545
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
unsigned int getURI() const
Definition: QName.hpp:187
objectType
Definition: XMLElementDecl.hpp:411
XMLSize_t getId() const
Get the element decl pool id for this element type.
Definition: XMLElementDecl.hpp:508
static const unsigned int fgPCDataElemId
Definition: XMLElementDecl.hpp:102
void setCreateReason(const CreateReasons newReason)
Update the create reason for this element type.
Definition: XMLElementDecl.hpp:534
CharDataOpts
Definition: XMLElementDecl.hpp:79
void setId(const XMLSize_t newId)
Set the element decl pool id for this element type.
Definition: XMLElementDecl.hpp:539
MemoryManager * getMemoryManager() const
Get the memory manager.
Definition: XMLElementDecl.hpp:524
const XMLCh * getBaseName() const
Get the base name of this element type.
Definition: XMLElementDecl.hpp:473
const XMLCh * getRawName() const
bool isDeclared() const
Indicate whether this element type has been declared yet.
Definition: XMLElementDecl.hpp:513
Configurable memory manager.
Definition: MemoryManager.hpp:39
bool isExternal() const
Indicate whether this element type has been declared externally.
Definition: XMLElementDecl.hpp:519
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
const QName * getElementName() const
Get the QName of this element type.
Definition: XMLElementDecl.hpp:488
This class defines an abstract interface that all validators must support.
Definition: XMLAttDefList.hpp:50
unsigned int getURI() const
Get the URI id of this element type.
Definition: XMLElementDecl.hpp:483
@ Declared
Definition: XMLElementDecl.hpp:72