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
464 CreateReasons fCreateReason;
466 bool fExternalElement;
485 return fElementName->
getURI();
505 return fCreateReason;
521 return fExternalElement;
526 return fMemoryManager;
536 fCreateReason = newReason;
547 fExternalElement = aValue;