#include <AttributesImpl.hpp>
List of all members.
Public Types
Public Member Functions
- AttributesImpl (MemoryManager &theManager=XalanMemMgrs::getDefaultXercesMemMgr())
- virtual ~AttributesImpl ()
- AttributesImpl (const AttributesImpl &theSource, MemoryManager &theManager)
- AttributesImpl (const AttributesType &theSource, MemoryManager &theManager)
- AttributesImpl & operator= (const AttributesImpl &theRHS)
- AttributesImpl & operator= (const AttributesType &theRHS)
- virtual XalanSize_t getLength () const
- virtual const XMLCh * getURI (const XalanSize_t index) const
- virtual const XMLCh * getLocalName (const XalanSize_t index) const
- virtual const XMLCh * getQName (const XalanSize_t index) const
- virtual const XMLCh * getType (const XalanSize_t index) const
- virtual const XMLCh * getValue (const XalanSize_t index) const
- virtual bool getIndex (const XMLCh *const uri, const XMLCh *const localPart, XalanSize_t &index) const
- virtual int getIndex (const XMLCh *const uri, const XMLCh *const localPart) const
- virtual bool getIndex (const XMLCh *const qName, XalanSize_t &index) const
- virtual int getIndex (const XMLCh *const qname) const
- virtual const XMLCh * getType (const XMLCh *const qname) const
- virtual const XMLCh * getType (const XMLCh *const uri, const XMLCh *const localName) const
- virtual const XMLCh * getValue (const XMLCh *const qname) const
- virtual const XMLCh * getValue (const XMLCh *const uri, const XMLCh *const localName) const
- MemoryManager & getMemoryManager ()
- virtual void clear ()
- Remove all attributes from the list.
- void addAttribute (const XMLCh *qname, const XMLCh *type, const XMLCh *value)
- Adds an attribute to the attribute list.
- void addAttribute (const XMLCh *uri, const XMLCh *localName, const XMLCh *qname, const XMLCh *type, const XMLCh *value)
- Adds an attribute to the attribute list.
- virtual bool removeAttribute (const XMLCh *qname)
- Removes an attribute from the attribute list.
- void swap (AttributesImpl &theOther)
- Swap the contents of two instances.
- void reserve (XalanSize_t theCount)
- Reserve room for the given number of attributes.
Detailed Description
Definition at line 48 of file AttributesImpl.hpp.
Member Typedef Documentation
Constructor & Destructor Documentation
AttributesImpl::AttributesImpl |
( |
MemoryManager & |
theManager = XalanMemMgrs::getDefaultXercesMemMgr() |
) |
[explicit] |
virtual AttributesImpl::~AttributesImpl |
( |
|
) |
[virtual] |
AttributesImpl::AttributesImpl |
( |
const AttributesImpl & |
theSource, |
|
|
MemoryManager & |
theManager | |
|
) |
| | |
AttributesImpl::AttributesImpl |
( |
const AttributesType & |
theSource, |
|
|
MemoryManager & |
theManager | |
|
) |
| | |
Member Function Documentation
void AttributesImpl::addAttribute |
( |
const XMLCh * |
qname, |
|
|
const XMLCh * |
type, |
|
|
const XMLCh * |
value | |
|
) |
| | [inline] |
Adds an attribute to the attribute list.
Does not check for duplicates.
- Parameters:
-
| qname | attribute qname |
| type | attribute type, "CDATA," for example |
| value | attribute value |
Definition at line 147 of file AttributesImpl.hpp.
void AttributesImpl::addAttribute |
( |
const XMLCh * |
uri, |
|
|
const XMLCh * |
localName, |
|
|
const XMLCh * |
qname, |
|
|
const XMLCh * |
type, |
|
|
const XMLCh * |
value | |
|
) |
| | |
Adds an attribute to the attribute list.
Does not check for duplicates.
- Parameters:
-
| uri | attribute namespace URI |
| localName | attribute local name |
| qname | attribute qname |
| type | attribute type, "CDATA," for example |
| value | attribute value |
virtual void AttributesImpl::clear |
( |
|
) |
[virtual] |
Remove all attributes from the list.
virtual bool AttributesImpl::getIndex |
( |
const XMLCh *const |
uri, |
|
|
const XMLCh *const |
localPart, |
|
|
XalanSize_t & |
index | |
|
) |
| | const [virtual] |
virtual int AttributesImpl::getIndex |
( |
const XMLCh *const |
uri, |
|
|
const XMLCh *const |
localPart | |
|
) |
| | const [virtual] |
virtual bool AttributesImpl::getIndex |
( |
const XMLCh *const |
qName, |
|
|
XalanSize_t & |
index | |
|
) |
| | const [virtual] |
virtual int AttributesImpl::getIndex |
( |
const XMLCh *const |
qname |
) |
const [virtual] |
virtual XalanSize_t AttributesImpl::getLength |
( |
|
) |
const [virtual] |
virtual const XMLCh* AttributesImpl::getLocalName |
( |
const XalanSize_t |
index |
) |
const [virtual] |
MemoryManager& AttributesImpl::getMemoryManager |
( |
|
) |
[inline] |
virtual const XMLCh* AttributesImpl::getQName |
( |
const XalanSize_t |
index |
) |
const [virtual] |
virtual const XMLCh* AttributesImpl::getType |
( |
const XMLCh *const |
uri, |
|
|
const XMLCh *const |
localName | |
|
) |
| | const [virtual] |
virtual const XMLCh* AttributesImpl::getType |
( |
const XMLCh *const |
qname |
) |
const [virtual] |
virtual const XMLCh* AttributesImpl::getType |
( |
const XalanSize_t |
index |
) |
const [virtual] |
virtual const XMLCh* AttributesImpl::getURI |
( |
const XalanSize_t |
index |
) |
const [virtual] |
virtual const XMLCh* AttributesImpl::getValue |
( |
const XMLCh *const |
uri, |
|
|
const XMLCh *const |
localName | |
|
) |
| | const [virtual] |
virtual const XMLCh* AttributesImpl::getValue |
( |
const XalanSize_t |
index |
) |
const [virtual] |
virtual const XMLCh* AttributesImpl::getValue |
( |
const XMLCh *const |
qname |
) |
const [virtual] |
virtual bool AttributesImpl::removeAttribute |
( |
const XMLCh * |
qname |
) |
[virtual] |
Removes an attribute from the attribute list.
- Parameters:
-
void AttributesImpl::reserve |
( |
XalanSize_t |
theCount |
) |
[inline] |
Reserve room for the given number of attributes.
- Parameters:
-
| theCount | The number to reserve |
Definition at line 202 of file AttributesImpl.hpp.
Swap the contents of two instances.
This must _never_ throw an exception.
- Parameters:
-
| thOther | The instance with which to swap. |
Definition at line 190 of file AttributesImpl.hpp.
The documentation for this class was generated from the following file: