22#if !defined(XERCESC_INCLUDE_GUARD_XMLELEMENTDECL_HPP) 
   23#define XERCESC_INCLUDE_GUARD_XMLELEMENTDECL_HPP 
   29#include <xercesc/internal/XSerializable.hpp> 
  103    static const XMLCh          fgPCDataElemName[];
 
  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;
 
  343                        , 
const XMLCh* 
const       localPart
 
  392    void setExternalElemDeclaration(
const bool aValue);
 
  466    bool                fExternalElement;
 
 
  485    return fElementName->
getURI();
 
 
  505    return fCreateReason;
 
 
  521    return fExternalElement;
 
 
  526    return fMemoryManager;
 
 
  536    fCreateReason = newReason;
 
 
  547    fExternalElement = aValue;
 
 
#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
const XMLCh * getLocalPart() const
Definition QName.hpp:177
const XMLCh * getRawName() const
unsigned int getURI() const
Definition QName.hpp:187
This class defines an abstract interface that all validators must support.
Definition XMLAttDefList.hpp:51
This class defines the abstract interface for all content models.
Definition XMLContentModel.hpp:47
This class defines the core information of an element declaration.
Definition XMLElementDecl.hpp:52
const XMLCh * getFullName() const
Get the full name of this element type.
Definition XMLElementDecl.hpp:498
static XMLElementDecl * loadElementDecl(XSerializeEngine &serEng)
virtual void setContentSpec(ContentSpecNode *toAdopt)=0
Set the content spec node object for this element type.
CreateReasons
Definition XMLElementDecl.hpp:70
@ Declared
Definition XMLElementDecl.hpp:72
virtual const XMLCh * getFormattedContentModel() const =0
Geta formatted string of the content model.
XMLElementDecl(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
void setCreateReason(const CreateReasons newReason)
Update the create reason for this element type.
Definition XMLElementDecl.hpp:534
virtual bool hasAttDefs() const =0
Indicate whether this element type defined any attributes.
MemoryManager * getMemoryManager() const
Get the memory manager.
Definition XMLElementDecl.hpp:524
objectType
Definition XMLElementDecl.hpp:412
XMLSize_t getId() const
Get the element decl pool id for this element type.
Definition XMLElementDecl.hpp:508
CharDataOpts
Definition XMLElementDecl.hpp:80
virtual XMLAttDefList & getAttDefList() const =0
Get a list of attributes defined for this element.
void setElementName(const XMLCh *const prefix, const XMLCh *const localPart, const int uriId)
Set the element name object for this element type.
const QName * getElementName() const
Get the QName of this element type.
Definition XMLElementDecl.hpp:488
bool isExternal() const
Indicate whether this element type has been declared externally.
Definition XMLElementDecl.hpp:519
const XMLCh * getBaseName() const
Get the base name of this element type.
Definition XMLElementDecl.hpp:473
void setElementName(const QName *const elementName)
Set the element name object for this element type.
bool isDeclared() const
Indicate whether this element type has been declared yet.
Definition XMLElementDecl.hpp:513
static const unsigned int fgPCDataElemId
Definition XMLElementDecl.hpp:102
virtual ContentSpecNode * getContentSpec()=0
Get a pointer to the content spec node.
void setElementName(const XMLCh *const rawName, const int uriId)
Set the element name object for this element type.
static void storeElementDecl(XSerializeEngine &serEng, XMLElementDecl *const element)
virtual void setContentModel(XMLContentModel *const newModelToAdopt)=0
Set the content model object for this element type.
void setId(const XMLSize_t newId)
Set the element decl pool id for this element type.
Definition XMLElementDecl.hpp:539
CreateReasons getCreateReason() const
Get the create reason for this element type.
Definition XMLElementDecl.hpp:503
unsigned int getURI() const
Get the URI id of this element type.
Definition XMLElementDecl.hpp:483
static const unsigned int fgInvalidElemId
Definition XMLElementDecl.hpp:101
virtual XMLElementDecl::objectType getObjectType() const =0
virtual ~XMLElementDecl()
void setExternalElemDeclaration(const bool aValue)
Set the element decl to indicate external declaration.
Definition XMLElementDecl.hpp:545
virtual XMLContentModel * getContentModel()=0
Get a pointer to the abstract content model.
virtual const ContentSpecNode * getContentSpec() const =0
Get a pointer to the content spec node.
virtual CharDataOpts getCharDataOpts() const =0
The character data options for this element type.
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition XMemory.hpp:41