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 local name.
- Parameter uid
- namespace uid
- Parameter localName
- local name
- 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 local name of an attribute.
- Parameter nIndex
- index
- Returns
- local name 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, local name.
- Parameter uid
- namespace uid
- Parameter localName
- local name
- Returns
- value string or empty string, if invalid uid/local name
|
|
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)
|
|
Copyright © 2020, 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.