Language
The Free and Open Productivity Suite
:: com :: sun :: star :: xml :: input ::
|
unpublished |
interface XAttributes |
|
|
|
- Usage Restrictions
- not published
- Description
- An element's attributes
@internal
|
Methods' Details |
getLength
- Description
- Gets the number of attributes.
- Returns
- number of attributes
|
|
getIndexByQName
long |
getIndexByQName( |
[in] string |
qName ); |
- Description
- Gets attribute index passing a QName.
- Parameter qName
- QName
- Returns
- attribute index or -1, if not found
|
|
getIndexByUidName
long |
getIndexByUidName( |
[in] long |
uid, |
| [in] string |
localName ); |
- Description
- Gets attribute index passing a namespace uid and a localname.
- Parameter uid
- namespace uid
- Parameter localName
- localname
- Returns
- attribute index or -1, if not found
|
|
getQNameByIndex
string |
getQNameByIndex( |
[in] long |
nIndex ); |
- Description
- Gets the QName of an attribute.
- Parameter nIndex
- index
- Returns
- QName of attribute or empty string, if invalid index
|
|
getUidByIndex
long |
getUidByIndex( |
[in] long |
nIndex ); |
- Description
- Gets the namespace uid of an attribute.
- Parameter nIndex
- index
- Returns
- namespace uid of attribute or -1, if invalid index
|
|
getLocalNameByIndex
string |
getLocalNameByIndex( |
[in] long |
nIndex ); |
- Description
- Gets the localname of an attribute.
- Parameter nIndex
- index
- Returns
- localname of attribute or empty string, if invalid index
|
|
getValueByIndex
string |
getValueByIndex( |
[in] long |
nIndex ); |
- Description
- Gets the value of an attribute.
- Parameter nIndex
- index
- Returns
- value string or empty string, if invalid index
|
|
getValueByUidName
string |
getValueByUidName( |
[in] long |
uid, |
| [in] string |
localName ); |
- Description
- For convenience: Gets the value of an attribute passing uid, localname.
- Parameter uid
- namespace uid
- Parameter localName
- localname
- Returns
- value string or empty string, if invalid uid/localname
|
|
getTypeByIndex
string |
getTypeByIndex( |
[in] long |
nIndex ); |
- Description
- Gets the type of an attribute, if possible.
- Parameter nIndex
- index
- Returns
- type of attribute (if possible, else empty string)
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.