#include <XTokenNumberAdapter.hpp>
Inherits XNumberBase.
Definition at line 45 of file XTokenNumberAdapter.hpp.
XTokenNumberAdapter::XTokenNumberAdapter | ( | const XToken & | theToken, | |
MemoryManager & | theMemoryManager | |||
) |
Create an XTokenNumberAdapter from an XToken.
theXToken | The XToken instance to adapt | |
theMemoryManager | The MemoryManager instance. |
XTokenNumberAdapter::XTokenNumberAdapter | ( | const XTokenNumberAdapter & | source, | |
MemoryManager & | theMemoryManager | |||
) |
Create an XTokenNumberAdapter from another one.
source | The XTokenNumberAdapter instance to copy | |
theMemoryManager | The MemoryManager instance. |
virtual XTokenNumberAdapter::~XTokenNumberAdapter | ( | ) | [virtual] |
virtual eObjectType XTokenNumberAdapter::getRealType | ( | ) | const [protected, virtual] |
virtual double XTokenNumberAdapter::num | ( | XPathExecutionContext & | executionContext | ) | const [virtual] |
Cast result object to a number.
executionContext | The current XPathExecutionContext |
Implements XNumberBase.
virtual double XTokenNumberAdapter::num | ( | ) | const [virtual] |
Cast result object to a number.
This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.
Reimplemented from XObject.
virtual const XalanDOMString& XTokenNumberAdapter::str | ( | ) | const [virtual] |
Cast result object to a string.
This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.
executionContext | The current XPathExecutionContext |
Implements XNumberBase.
virtual void XTokenNumberAdapter::str | ( | XPathExecutionContext & | executionContext, | |
XalanDOMString & | theBuffer | |||
) | const [virtual] |
Append the string value directly a string.
executionContext | The current XPathExecutionContext | |
theBuffer | The buffer for the data |
Implements XNumberBase.
virtual void XTokenNumberAdapter::str | ( | FormatterListener & | formatterListener, | |
MemberFunctionPtr | function | |||
) | const [virtual] |
Send the string value to a FormatterListener instance.
This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.
formatterListener | The FormatterListener instance | |
function | A pointer to the member function of FormatterListener to call |
Implements XNumberBase.
virtual void XTokenNumberAdapter::str | ( | XPathExecutionContext & | executionContext, | |
FormatterListener & | formatterListener, | |||
MemberFunctionPtr | function | |||
) | const [virtual] |
Send the string value to a FormatterListener instance.
executionContext | The current XPathExecutionContext | |
formatterListener | The FormatterListener instance | |
function | A pointer to the member function of FormatterListener to call |
Implements XNumberBase.
virtual void XTokenNumberAdapter::str | ( | XalanDOMString & | theBuffer | ) | const [virtual] |
Append the string value directly a string.
This function does not have access to the current XPathExecutionContext, so the result may contain data from whitespace text nodes that might have been stripped otherwise.
theBuffer | The buffer for the data |
Implements XNumberBase.
virtual const XalanDOMString& XTokenNumberAdapter::str | ( | XPathExecutionContext & | executionContext | ) | const [virtual] |
Cast result object to a string.
executionContext | The current XPathExecutionContext |
Implements XNumberBase.
virtual double XTokenNumberAdapter::stringLength | ( | XPathExecutionContext & | executionContext | ) | const [virtual] |
Get the length of the string value of the instance.
Implements XNumberBase.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|