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
399 XMLAttDef& operator=(const XMLAttDef&);
441 bool fExternalAttribute;
479 return fCreateReason;
484 return fExternalAttribute;
489 return fMemoryManager;
497 fDefaultType = newValue;
503 fMemoryManager->deallocate(fEnumeration);
521 fMemoryManager->deallocate(fValue);
529 fCreateReason = newReason;
534 fExternalAttribute = aValue;