Go to the documentation of this file.
   22 #if !defined(XERCESC_INCLUDE_GUARD_XMLATTDEF_HPP) 
   23 #define XERCESC_INCLUDE_GUARD_XMLATTDEF_HPP 
   28 #include <xercesc/internal/XSerializable.hpp> 
   91         , AttTypes_Unknown  = -1
 
   99         , Required_And_Fixed     = 3
 
  101         , ProcessContents_Skip   = 5
 
  102         , ProcessContents_Lax    = 6
 
  103         , ProcessContents_Strict = 7
 
  107         , DefAttTypes_Min   = 0
 
  108         , DefAttTypes_Max   = 8
 
  109         , DefAttTypes_Unknown = -1
 
  189     virtual const XMLCh* getFullName() 
const = 0;
 
  195     virtual void reset() = 0;
 
  226     const XMLCh* getEnumeration() 
const;
 
  258     const XMLCh* getValue() 
const;
 
  277     bool isExternal() 
const;
 
  337     void setValue(
const XMLCh* 
const newValue);
 
  349     void setEnumeration(
const XMLCh* 
const newValue);
 
  365     void setExternalAttDeclaration(
const bool aValue);
 
  386         const   XMLCh* 
const        attValue
 
  389         , 
const XMLCh* 
const        enumValues = 0
 
  441     bool            fExternalAttribute;
 
  479     return fCreateReason;
 
  484     return fExternalAttribute;
 
  489     return fMemoryManager;
 
  497     fDefaultType = newValue;
 
  529     fCreateReason = newReason;
 
  534     fExternalAttribute = 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
DefAttTypes getDefaultType() const
Get the default type of this attribute type.
Definition: XMLAttDef.hpp:452
void setCreateReason(const CreateReasons newReason)
Update the create reason for this attribute type.
Definition: XMLAttDef.hpp:527
DefAttTypes
Definition: XMLAttDef.hpp:94
AttTypes getType() const
Get the type of this attribute.
Definition: XMLAttDef.hpp:467
MemoryManager * getMemoryManager() const
Get the plugged-in memory manager.
Definition: XMLAttDef.hpp:487
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
static char * replicate(const char *const toRep, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Replicates a string NOTE: The returned buffer is allocated with the MemoryManager.
AttTypes
Definition: XMLAttDef.hpp:71
void setType(const XMLAttDef::AttTypes newValue)
Set the type of this attribute type.
Definition: XMLAttDef.hpp:513
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
void setDefaultType(const XMLAttDef::DefAttTypes newValue)
Set the default attribute type.
Definition: XMLAttDef.hpp:495
void setValue(const XMLCh *const newValue)
Set the default/fixed value of this attribute type.
Definition: XMLAttDef.hpp:518
Represents the core information of an attribute definition.
Definition: XMLAttDef.hpp:52
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
void setId(const XMLSize_t newId)
Set the pool id for this attribute type.
Definition: XMLAttDef.hpp:508
void setEnumeration(const XMLCh *const newValue)
Set the enumerated value of this attribute type.
Definition: XMLAttDef.hpp:500
virtual void deallocate(void *p)=0
This method deallocates memory.
const XMLCh * getValue() const
Get the default/fixed value of this attribute (if any.)
Definition: XMLAttDef.hpp:472
XMLSize_t getId() const
Get the pool id of this attribute type.
Definition: XMLAttDef.hpp:462
This class defines the information about an attribute that will come out of the scanner during parsin...
Definition: XMLAttr.hpp:53
CreateReasons
Definition: XMLAttDef.hpp:112
const XMLCh * getEnumeration() const
Get the enumeration value (if any) of this attribute type.
Definition: XMLAttDef.hpp:457
Configurable memory manager.
Definition: MemoryManager.hpp:39
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
CreateReasons getCreateReason() const
Get the create reason for this attribute.
Definition: XMLAttDef.hpp:477
bool isExternal() const
Indicate whether this attribute has been declared externally.
Definition: XMLAttDef.hpp:482
void setExternalAttDeclaration(const bool aValue)
Set the attribute decl to indicate external declaration.
Definition: XMLAttDef.hpp:532
static const unsigned int fgInvalidAttrId
Definition: XMLAttDef.hpp:121