Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

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

Public Types

typedef XalanVector
< AttributeVectorEntryExtended * > 
AttributesVectorType

Public Member Functions

 AttributesImpl (MemoryManagerType &theManager XALAN_DEFAULT_MEMMGR)
virtual ~AttributesImpl ()
 AttributesImpl (const AttributesImpl &theSource, MemoryManagerType &theManager)
 AttributesImpl (const AttributesType &theSource, MemoryManagerType &theManager)
AttributesImploperator= (const AttributesImpl &theRHS)
AttributesImploperator= (const AttributesType &theRHS)
virtual unsigned int getLength () const
virtual const XMLCh * getURI (const unsigned int index) const
virtual const XMLCh * getLocalName (const unsigned int index) const
virtual const XMLCh * getQName (const unsigned int index) const
virtual const XMLCh * getType (const unsigned int index) const
virtual const XMLCh * getValue (const unsigned int index) const
virtual int getIndex (const XMLCh *const uri, const XMLCh *const localName) 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
MemoryManagerTypegetMemoryManager ()
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 (unsigned int theCount)
 Reserve room for the given number of attributes.

Member Typedef Documentation

Constructor & Destructor Documentation

AttributesImpl::AttributesImpl ( MemoryManagerType &theManager  XALAN_DEFAULT_MEMMGR)
explicit
virtual AttributesImpl::~AttributesImpl ( )
virtual
AttributesImpl::AttributesImpl ( const AttributesImpl theSource,
MemoryManagerType theManager 
)
AttributesImpl::AttributesImpl ( const AttributesType theSource,
MemoryManagerType theManager 
)

Member Function Documentation

void AttributesImpl::addAttribute ( const XMLCh *  qname,
const XMLCh *  type,
const XMLCh *  value 
)

Adds an attribute to the attribute list.

Does not check for duplicates.

Parameters
qnameattribute qname
typeattribute type, "CDATA," for example
valueattribute value
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
uriattribute namespace URI
localNameattribute local name
qnameattribute qname
typeattribute type, "CDATA," for example
valueattribute value
virtual void AttributesImpl::clear ( )
virtual

Remove all attributes from the list.

virtual int AttributesImpl::getIndex ( const XMLCh *const  uri,
const XMLCh *const  localName 
) const
virtual
virtual int AttributesImpl::getIndex ( const XMLCh *const  qname) const
virtual
virtual unsigned int AttributesImpl::getLength ( ) const
virtual
virtual const XMLCh* AttributesImpl::getLocalName ( const unsigned int  index) const
virtual
MemoryManagerType& AttributesImpl::getMemoryManager ( )
virtual const XMLCh* AttributesImpl::getQName ( const unsigned int  index) const
virtual
virtual const XMLCh* AttributesImpl::getType ( const unsigned int  index) const
virtual
virtual const XMLCh* AttributesImpl::getType ( const XMLCh *const  qname) const
virtual
virtual const XMLCh* AttributesImpl::getType ( const XMLCh *const  uri,
const XMLCh *const  localName 
) const
virtual
virtual const XMLCh* AttributesImpl::getURI ( const unsigned int  index) const
virtual
virtual const XMLCh* AttributesImpl::getValue ( const unsigned int  index) const
virtual
virtual const XMLCh* AttributesImpl::getValue ( const XMLCh *const  qname) const
virtual
virtual const XMLCh* AttributesImpl::getValue ( const XMLCh *const  uri,
const XMLCh *const  localName 
) const
virtual
AttributesImpl& AttributesImpl::operator= ( const AttributesImpl theRHS)
AttributesImpl& AttributesImpl::operator= ( const AttributesType theRHS)
virtual bool AttributesImpl::removeAttribute ( const XMLCh *  qname)
virtual

Removes an attribute from the attribute list.

Parameters
qnameattribute qname
void AttributesImpl::reserve ( unsigned int  theCount)

Reserve room for the given number of attributes.

Parameters
theCountThe number to reserve
void AttributesImpl::swap ( AttributesImpl 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