#include <XToken.hpp>
Inherits XObject.
Definition at line 41 of file XToken.hpp.
XToken::XToken | ( | MemoryManager & | theMemoryManager | ) |
Create an XToken.
theMemoryManager | The MemoryManager instance. |
XToken::XToken | ( | const XalanDOMString & | theString, | |
double | theNumber, | |||
MemoryManager & | theMemoryManager | |||
) |
Create an XToken for string in the token queue.
theString | The string data for the token. The instance will keep a point to this string, so it must be persistent. | |
theNumber | The numeric data for the token. This must be consistent with the lexical value in theString. | |
theMemoryManager | The MemoryManager instance. |
XToken::XToken | ( | double | theNumber, | |
const XalanDOMString & | theString, | |||
MemoryManager & | theMemoryManager | |||
) |
Create an XToken for number in the token queue.
theNumber | The numeric data for the token. This must be consistent with the lexical value in theString. | |
theString | The string data for the token. The instance will keep a point to this string, so it must be persistent. | |
theMemoryManager | The MemoryManager instance. |
XToken::XToken | ( | const XToken & | theSource | ) |
XToken::XToken | ( | const XToken & | theSource, | |
MemoryManager & | theMemoryManager | |||
) |
virtual XToken::~XToken | ( | ) | [virtual] |
virtual bool XToken::boolean | ( | XPathExecutionContext & | executionContext | ) | const [virtual] |
Cast result object to a boolean.
executionContext | The current XPathExecutionContext |
Implements XObject.
bool XToken::boolean | ( | ) | const [inline] |
Definition at line 154 of file XToken.hpp.
virtual void XToken::dereferenced | ( | ) | [protected, virtual] |
Reimplemented from XObject.
virtual const XalanDOMString& XToken::getTypeString | ( | ) | const [virtual] |
Given a request type, return the equivalent string.
For diagnostic purposes.
Implements XObject.
virtual double XToken::num | ( | XPathExecutionContext & | executionContext | ) | const [virtual] |
Cast result object to a number.
executionContext | The current XPathExecutionContext |
Reimplemented from XObject.
double XToken::num | ( | ) | const [inline, 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.
Definition at line 162 of file XToken.hpp.
Definition at line 144 of file XToken.hpp.
virtual void XToken::ProcessXObjectTypeCallback | ( | XObjectTypeCallback & | theCallbackObject | ) | [virtual] |
Process a callback request for preferred type information.
theCallbackObject | object to call back |
Implements XObject.
virtual void XToken::ProcessXObjectTypeCallback | ( | XObjectTypeCallback & | theCallbackObject | ) | const [virtual] |
Process a callback request for preferred type information.
theCallbackObject | object to call back |
Implements XObject.
virtual void XToken::referenced | ( | ) | [protected, virtual] |
Reimplemented from XObject.
void XToken::set | ( | const XalanDOMString & | theString, | |
double | theNumber | |||
) |
Set the instance as a string in the token queue.
theString | The string data for the token. XToken will keep a point to this string, so it must be persistent. | |
theNumber | The numeric data for the token. This must be consistent with the lexical value in theString. |
void XToken::set | ( | double | theNumber, | |
const XalanDOMString & | theString | |||
) |
Set the instance as a number in the token queue.
theNumber | The numeric data for the token. This must be consistent with the lexical value in theString. | |
theString | The string data for the token. XToken will keep a point to this string, so it must be persistent. |
virtual void XToken::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 XObject.
virtual void XToken::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 XObject.
virtual void XToken::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 XObject.
virtual const XalanDOMString& XToken::str | ( | XPathExecutionContext & | executionContext | ) | const [virtual] |
Cast result object to a string.
executionContext | The current XPathExecutionContext |
Implements XObject.
virtual const XalanDOMString& XToken::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 XObject.
virtual void XToken::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 XObject.
virtual double XToken::stringLength | ( | XPathExecutionContext & | executionContext | ) | const [virtual] |
Get the length of the string value of the instance.
Implements XObject.
double XToken::stringLength | ( | ) | const [inline] |
Definition at line 170 of file XToken.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|