Go to the documentation of this file.
   22 #if !defined(XERCESC_INCLUDE_GUARD_XMLATTR_HPP) 
   23 #define XERCESC_INCLUDE_GUARD_XMLATTR_HPP 
   28 #include <xercesc/validators/datatype/DatatypeValidator.hpp> 
  105           const unsigned int        uriId
 
  106         , 
const XMLCh* 
const        attrName
 
  107         , 
const XMLCh* 
const        attrPrefix
 
  108         , 
const XMLCh* 
const        attrValue
 
  110         , 
const bool                specified = 
true 
  112         , DatatypeValidator * datatypeValidator = 0
 
  113         , 
const bool isSchema = 
false 
  146         const unsigned int uriId
 
  147         , 
const XMLCh* 
const rawName
 
  148         , 
const XMLCh* 
const attrValue
 
  150         , 
const bool specified = 
true 
  152         , DatatypeValidator * datatypeValidator = 0
 
  153         , 
const bool isSchema = 
false 
  174     QName* getAttName() 
const;
 
  180     const XMLCh* getName() 
const;
 
  186     const XMLCh* getPrefix() 
const;
 
  193     const XMLCh* getQName() 
const;
 
  199     bool getSpecified() 
const;
 
  212     const XMLCh* getValue() 
const;
 
  218     unsigned int getURIId() 
const;
 
  260         const   unsigned int        uriId
 
  261         , 
const XMLCh* 
const        attrName
 
  262         , 
const XMLCh* 
const        attrPrefix
 
  263         , 
const XMLCh* 
const        attrValue
 
  265         , DatatypeValidator * datatypeValidator = 0
 
  266         , 
const bool isSchema = 
false 
  294         const   unsigned int        uriId
 
  295         , 
const XMLCh* 
const        attrRawName
 
  296         , 
const XMLCh* 
const        attrValue
 
  298         , DatatypeValidator * datatypeValidator = 0
 
  299         , 
const bool isSchema = 
false 
  318         const   unsigned int        uriId
 
  319         , 
const XMLCh* 
const        attrName
 
  320         , 
const XMLCh* 
const        attrPrefix
 
  330     void setSpecified(
const bool newValue);
 
  349     void setValue(
const XMLCh* 
const newValue);
 
  358     void setURIId(
const unsigned int uriId);
 
  452     return fAttName->
getURI();
 
  459                         , 
const XMLCh* 
const        attrName
 
  460                         , 
const XMLCh* 
const        attrPrefix
 
  461                         , 
const XMLCh* 
const        attrValue
 
  463                         , DatatypeValidator * 
 
  467     fAttName->
setName(attrPrefix, attrName, uriId);
 
  475                         , 
const XMLCh* 
const        attrRawName
 
  476                         , 
const XMLCh* 
const        attrValue
 
  478                         , DatatypeValidator * 
 
  482     fAttName->
setName(attrRawName, uriId);
 
  496     fSpecified = newValue;
 
  
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40
const XMLCh * getName() const
This method gets a const pointer to the name of the attribute.
Definition: XMLAttr.hpp:425
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
void setSpecified(const bool newValue)
This method will update the specified state of the object.
Definition: XMLAttr.hpp:494
const XMLCh * getLocalPart() const
Definition: QName.hpp:177
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
@ CData
Definition: XMLAttDef.hpp:73
AttTypes
Definition: XMLAttDef.hpp:71
QName * getAttName() const
This method returns the attribute name in a QName format.
Definition: XMLAttr.hpp:420
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
~XMLAttr()
Definition: XMLAttr.hpp:411
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
unsigned int getURI() const
Definition: QName.hpp:187
void setType(const XMLAttDef::AttTypes newType)
This method will update the attribute type of the object.
Definition: XMLAttr.hpp:489
const XMLCh * getValue() const
This method will get the value of the attribute.
Definition: XMLAttr.hpp:445
This class defines the information about an attribute that will come out of the scanner during parsin...
Definition: XMLAttr.hpp:53
Configurable memory manager.
Definition: MemoryManager.hpp:39
XMLAttDef::AttTypes getType() const
This method will get the type of the attribute.
Definition: XMLAttr.hpp:440
unsigned int getURIId() const
This method will get the id of the URI that this attribute's prefix mapped to.
Definition: XMLAttr.hpp:450
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
bool getSpecified() const
This method will get the specified flag, which indicates whether the attribute was explicitly specifi...
Definition: XMLAttr.hpp:435
const XMLCh * getPrefix() const
Definition: QName.hpp:167
void set(const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)
This method is called to set up a default constructed object after the fact, or to reuse a previously...
Definition: XMLAttr.hpp:458
const XMLCh * getPrefix() const
This method will get a const pointer to the prefix string of this attribute.
Definition: XMLAttr.hpp:430
void setValue(const XMLCh *const newValue)
This method will update the value field of the attribute.
void setName(const XMLCh *const prefix, const XMLCh *const localPart, const unsigned int uriId)