Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: xml :: sax ::

interface XAttributeList
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 ::com::sun::star::util::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.


Methods' Summary
getLength  
getNameByIndex  
getTypeByIndex  
getTypeByName  
getValueByIndex  
getValueByName  
Methods' Details
getLength
short
getLength();

Returns
the number of attributes in this list.
getNameByIndex
string
getNameByIndex( [in] short  i );

Returns
the name of an attribute in this list (by position).
getTypeByIndex
string
getTypeByIndex( [in] short  i );

Returns
the type of an attribute in the list (by position). Non-validating parsers may return CDATA only.
getTypeByName
string
getTypeByName( [in] string  aName );

Returns
the type of an attribute in the list (by name). Non-validating parsers may return CDATA only.
getValueByIndex
string
getValueByIndex( [in] short  i );

Returns
the value of an attribute in the list (by position).
getValueByName
string
getValueByName( [in] string  aName );

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.