interface XAttributeList in module com::sun::star::xml::sax::

(Global Index)

Syntax

interface XAttributeList : com::sun::star::uno::XInterface ;

Description

specifies an element's attributes.

This interface describes a name-type-value triple which describes a single attribute of a tag. Implementors are encouraged to implement the XCloneable interface also to allow the user to make a copy of the instance.

This interface is an IDL version of the Java interface org.xml.sax.AttributeList .

Method Summary

getLength

getNameByIndex

getTypeByIndex

getTypeByName

getValueByIndex

getValueByName

Method Details



getLength

Syntax

short getLength ();

Returns

the number of attributes in this list.

getNameByIndex

Syntax

string getNameByIndex (
short i );

Returns

the name of an attribute in this list (by position).

getTypeByIndex

Syntax

string getTypeByIndex (
short i );

Returns

the type of an attribute in the list (by position). Non-validating parsers may return CDATA only.

getTypeByName

Syntax

string getTypeByName (
string aName );

Returns

the type of an attribute in the list (by name). Non-validating parsers may return CDATA only.

getValueByIndex

Syntax

string getValueByIndex (
short i );

Returns

the value of an attribute in the list (by position).

getValueByName

Syntax

string getValueByName (
string aName );

Returns

the value of an attribute in the list (by name).
Top of Page