Methods' Details |
hasAttribute
boolean |
hasAttribute( |
[in] long |
Token ); |
- Description
- checks if an attribute is available.
- Parameter Token
- contains the integer token from the XFastTokenHandler
registered at the XFastParser.
If the attribute name has a namespace that was registered with the
XFastParser, Token contains the integer token of the
attributes local name from the XFastTokenHandler and
the integer token of the namespace combined with an arithmetic
or operation.
- Returns
- true, if the attribute is available
|
|
getValueToken
long |
getValueToken( |
[in] long |
Token ) |
raises( |
SAXException ); |
- Description
- retrieves the token of an attributes value.
- Parameter Token
- contains the integer token from the XFastTokenHandler
registered at the XFastParser.
If the attribute name has a namespace that was registered with the
XFastParser, Token contains the integer token of the
attributes local name from the XFastTokenHandler and
the integer token of the namespace combined with an arithmetic
or operation.
- Returns
- The integer token of the value from the attribute or FastToken::Invalid
- Throws
- SAXEXception
if the attribute is not available
|
|
getOptionalValueToken
long |
getOptionalValueToken( |
[in] long |
Token, |
| [in] long |
Default ); |
- Description
- retrieves the token of an attributes value.
- Parameter Token
- contains the integer token from the XFastTokenHandler
registered at the XFastParser.
If the attribute name has a namespace that was registered with the
XFastParser, Token contains the integer token of the
attributes local name from the XFastTokenHandler and
the integer token of the namespace combined with an arithmetic
or operation.
- Parameter Default
- This value will be returned if the attribute is not available
- Returns
- If the attribute is available it returns the integer token of the value
from the attribute or FastToken::Invalid.
If not the value of Default is returned.
|
|
getValue
- Description
- retrieves the value of an attributes.
- Parameter Token
- contains the integer token from the XFastTokenHandler
registered at the XFastParser.
If the attribute name has a namespace that was registered with the
XFastParser, Token contains the integer token of the
attributes local name from the XFastTokenHandler and
the integer token of the namespace combined with an arithmetic
or operation.
- Returns
- The string value from the attribute.
- Throws
- SAXEXception
if the attribute is not available
|
|
getOptionalValue
string |
getOptionalValue( |
[in] long |
Token ); |
- Description
- retrieves the value of an attributes.
- Parameter Token
- contains the integer token from the XFastTokenHandler
registered at the XFastParser.
If the attribute name has a namespace that was registered with the
XFastParser, Token contains the integer token of the
attributes local name from the XFastTokenHandler and
the integer token of the namespace combined with an arithmetic
or operation.
- Returns
- The string value from the attribute or an empty string if the
attribute is not available.
|
|
getUnknownAttributes
sequence< ::com::sun::star::xml::Attribute > |
getUnknownAttributes(); |
- Description
- returns a sequence of attributes which names and or namespaces URLS
can not be translated to tokens.
|
|
getFastAttributes
- Description
- returns a sequence of attributes which names and or namespaces URLS
are translated to tokens.
|
|
Copyright © 2012, 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.