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;
 
  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);
 
 
  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;
 
 
#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
void setName(const XMLCh *const prefix, const XMLCh *const localPart, const unsigned int uriId)
unsigned int getURI() const
Definition QName.hpp:187
const XMLCh * getPrefix() const
Definition QName.hpp:167
AttTypes
Definition XMLAttDef.hpp:72
@ CData
Definition XMLAttDef.hpp:73
This class defines the information about an attribute that will come out of the scanner during parsin...
Definition XMLAttr.hpp:54
const XMLCh * getName() const
This method gets a const pointer to the name of the attribute.
Definition XMLAttr.hpp:425
XMLAttr(const unsigned int uriId, const XMLCh *const rawName, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, const bool specified=true, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)
This is the primary constructor which takes all of the information required to construct a complete a...
const XMLCh * getValue() const
This method will get the value of the attribute.
Definition XMLAttr.hpp:445
void setType(const XMLAttDef::AttTypes newType)
This method will update the attribute type of the object.
Definition XMLAttr.hpp:489
unsigned int getURIId() const
This method will get the id of the URI that this attribute's prefix mapped to.
Definition XMLAttr.hpp:450
const XMLCh * getPrefix() const
This method will get a const pointer to the prefix string of this attribute.
Definition XMLAttr.hpp:430
XMLAttDef::AttTypes getType() const
This method will get the type of the attribute.
Definition XMLAttr.hpp:440
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
void setName(const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix)
This method will update just the name related fields of the attribute object.
const XMLCh * getQName() const
This method will get the QName of this attribute, which will be the prefix if any,...
void setSpecified(const bool newValue)
This method will update the specified state of the object.
Definition XMLAttr.hpp:494
~XMLAttr()
Definition XMLAttr.hpp:411
void setURIId(const unsigned int uriId)
This method will set the URI id field of this attribute.
XMLAttr(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
The default constructor just setsup an empty attribute to be filled in the later.
void setValue(const XMLCh *const newValue)
This method will update the value field of the attribute.
QName * getAttName() const
This method returns the attribute name in a QName format.
Definition XMLAttr.hpp:420
XMLAttr(const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix, const XMLCh *const attrValue, const XMLAttDef::AttTypes type=XMLAttDef::CData, const bool specified=true, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)
This is the primary constructor which takes all of the information required to construct a complete a...
bool getSpecified() const
This method will get the specified flag, which indicates whether the attribute was explicitly specifi...
Definition XMLAttr.hpp:435
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition XMemory.hpp:41