Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Public Member Functions | List of all members
AttributeListImpl Class Reference

Public Types

typedef XalanVector
< AttributeVectorEntry * > 
AttributeVectorType

Public Member Functions

 AttributeListImpl (MemoryManagerType &theManager)
virtual ~AttributeListImpl ()
 AttributeListImpl (const AttributeListImpl &theSource, MemoryManagerType &theManager)
 AttributeListImpl (const AttributeListType &theSource, MemoryManagerType &theManager)
AttributeListImploperator= (const AttributeListImpl &theRHS)
AttributeListImploperator= (const AttributeListType &theRHS)
MemoryManagerTypegetMemoryManager ()
virtual unsigned int getLength () const
virtual const XMLCh * getName (const unsigned int index) const
virtual const XMLCh * getType (const unsigned int index) const
virtual const XMLCh * getValue (const unsigned int index) const
virtual const XMLCh * getType (const XMLCh *const name) const
virtual const XMLCh * getValue (const XMLCh *const name) const
virtual const XMLCh * getValue (const char *const name) const
virtual void clear ()
 Remove all attributes from the list.
virtual bool addAttribute (const XMLCh *name, const XMLCh *type, const XMLCh *value)
 Adds an attribute to the attribute list.
virtual bool removeAttribute (const XMLCh *name)
 Removes an attribute from the attribute list.
void swap (AttributeListImpl &theOther)
 Swap the contents of two instances.
void reserve (unsigned int theCount)
 Reserve room for the given number of attributes.

Member Typedef Documentation

Constructor & Destructor Documentation

AttributeListImpl::AttributeListImpl ( MemoryManagerType theManager)
explicit
virtual AttributeListImpl::~AttributeListImpl ( )
virtual
AttributeListImpl::AttributeListImpl ( const AttributeListImpl theSource,
MemoryManagerType theManager 
)
AttributeListImpl::AttributeListImpl ( const AttributeListType theSource,
MemoryManagerType theManager 
)

Member Function Documentation

virtual bool AttributeListImpl::addAttribute ( const XMLCh *  name,
const XMLCh *  type,
const XMLCh *  value 
)
virtual

Adds an attribute to the attribute list.

Parameters
nameattribute name
typeattribute type, "CDATA," for example
valueattribute value
virtual void AttributeListImpl::clear ( )
virtual

Remove all attributes from the list.

virtual unsigned int AttributeListImpl::getLength ( ) const
virtual
MemoryManagerType& AttributeListImpl::getMemoryManager ( )
virtual const XMLCh* AttributeListImpl::getName ( const unsigned int  index) const
virtual
virtual const XMLCh* AttributeListImpl::getType ( const unsigned int  index) const
virtual
virtual const XMLCh* AttributeListImpl::getType ( const XMLCh *const  name) const
virtual
virtual const XMLCh* AttributeListImpl::getValue ( const unsigned int  index) const
virtual
virtual const XMLCh* AttributeListImpl::getValue ( const XMLCh *const  name) const
virtual
virtual const XMLCh* AttributeListImpl::getValue ( const char *const  name) const
virtual
AttributeListImpl& AttributeListImpl::operator= ( const AttributeListImpl theRHS)
AttributeListImpl& AttributeListImpl::operator= ( const AttributeListType theRHS)
virtual bool AttributeListImpl::removeAttribute ( const XMLCh *  name)
virtual

Removes an attribute from the attribute list.

Parameters
nameattribute name
void AttributeListImpl::reserve ( unsigned int  theCount)

Reserve room for the given number of attributes.

Parameters
theCountThe number to reserve
void AttributeListImpl::swap ( AttributeListImpl theOther)

Swap the contents of two instances.

This must never throw an exception.

Parameters
thOtherThe instance with which to swap.

The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo