Class to hold XPath return types. More...
Class to hold XPath return types.
typedef void(FormatterListener::* XObject::MemberFunctionPtr)(const XMLCh *const, const unsigned int) |
enum XObject::eObjectType |
XObject::XObject | ( | eObjectType | theObjectType | ) |
Create an XObject.
theObjectType | The enum for the type of the object. |
XObject::XObject | ( | const XObject & | source | ) |
virtual XObject::~XObject | ( | ) | [protected, virtual] |
virtual bool XObject::boolean | ( | ) | const [virtual] |
Cast result object to a boolean.
Reimplemented in XBoolean, XNodeSetBase, XNull, XNumberBase, XStringBase, XToken, XUnknown, and XResultTreeFrag.
static bool XObject::boolean | ( | double | theNumber | ) | [static] |
Static conversion function.
static bool XObject::boolean | ( | const XalanDOMString & | theString | ) | [static] |
Static conversion function.
static bool XObject::boolean | ( | const NodeRefListBase & | theNodeList | ) | [static] |
Static conversion function.
virtual void XObject::dereferenced | ( | ) | [protected, virtual] |
Implements XalanReferenceCountedObject.
Reimplemented in XToken, and XResultTreeFrag.
bool XObject::equals | ( | const XObject & | theRHS, |
XPathExecutionContext & | executionContext | ||
) | const |
Tell if two objects are functionally equal.
theRHS | object to compare |
executionContext | the current execution context |
virtual eObjectType XObject::getRealType | ( | ) | const [protected, virtual] |
Tell what kind of class this is.
Reimplemented in XNodeSetNodeProxy, XStringAdapter, XStringCached, XStringReference, XTokenNumberAdapter, and XTokenStringAdapter.
eObjectType XObject::getType | ( | ) | const |
Tell what kind of class this is.
virtual const XalanDOMString& XObject::getTypeString | ( | ) | const [pure virtual] |
Given a request type, return the equivalent string.
For diagnostic purposes.
Implemented in XBoolean, XNodeSetBase, XNull, XNumberBase, XStringBase, XToken, XUnknown, and XResultTreeFrag.
bool XObject::greaterThan | ( | const XObject & | theRHS, |
XPathExecutionContext & | executionContext | ||
) | const |
Tell if one object is greater than the other.
theRHS | object to compare |
bool XObject::greaterThanOrEquals | ( | const XObject & | theRHS, |
XPathExecutionContext & | executionContext | ||
) | const |
Tell if one object is greater than or equal the other.
theRHS | object to compare |
static void XObject::initialize | ( | MemoryManagerType & | theManager | ) | [static] |
bool XObject::lessThan | ( | const XObject & | theRHS, |
XPathExecutionContext & | executionContext | ||
) | const |
Tell if one object is less than the other.
theRHS | object to compare |
bool XObject::lessThanOrEquals | ( | const XObject & | theRHS, |
XPathExecutionContext & | executionContext | ||
) | const |
Tell if one object is less than or equal the other.
theRHS | object to compare |
virtual const NodeRefListBase& XObject::nodeset | ( | ) | const [virtual] |
Cast result object to a nodelist.
Reimplemented in XNodeSet, XNodeSetBase, XNodeSetNodeProxy, and XResultTreeFrag.
bool XObject::notEquals | ( | const XObject & | theRHS, |
XPathExecutionContext & | executionContext | ||
) | const |
Tell if two objects are functionally not equal.
theRHS | object to compare |
executionContext | the current execution context |
virtual double XObject::num | ( | ) | const [virtual] |
Cast result object to a number.
Reimplemented in XBoolean, XNodeSetBase, XNull, XNumber, XNumberBase, XStringBase, XToken, XTokenNumberAdapter, XTokenStringAdapter, XUnknown, and XResultTreeFrag.
static double XObject::number | ( | bool | theBoolean | ) | [static] |
Static conversion function.
static double XObject::number | ( | XPathExecutionContext & | executionContext, |
const NodeRefListBase & | theNodeList | ||
) | [static] |
Static conversion function.
static double XObject::number | ( | const XalanDOMString & | theString, |
MemoryManagerType & | theManager | ||
) | [static] |
static double XObject::number | ( | XPathExecutionContext & | executionContext, |
const XalanNode & | theNode | ||
) | [static] |
Static conversion function.
virtual void XObject::ProcessXObjectTypeCallback | ( | XObjectTypeCallback & | theCallbackObject | ) | [pure virtual] |
Process a callback request for preferred type information.
theCallbackObject | object to call back |
Implemented in XBoolean, XNodeSetBase, XNull, XNumberBase, XStringBase, XToken, XUnknown, and XResultTreeFrag.
virtual void XObject::ProcessXObjectTypeCallback | ( | XObjectTypeCallback & | theCallbackObject | ) | const [pure virtual] |
Process a callback request for preferred type information.
theCallbackObject | object to call back |
Implemented in XBoolean, XNodeSetBase, XNull, XNumberBase, XStringBase, XToken, XUnknown, and XResultTreeFrag.
virtual void XObject::referenced | ( | ) | [protected, virtual] |
Implements XalanReferenceCountedObject.
Reimplemented in XToken.
virtual const XalanDocumentFragment& XObject::rtree | ( | ) | const [virtual] |
Cast result object to a result tree fragment.
Reimplemented in XNodeSetBase, XStringBase, and XResultTreeFrag.
void XObject::setFactory | ( | XObjectFactory * | theFactory | ) |
virtual void XObject::str | ( | XalanDOMString & | theBuffer | ) | const [virtual] |
Append the string value directly a string.
theBuffer | The buffer for the data |
Reimplemented in XNodeSetBase, XNumber, XToken, XTokenNumberAdapter, XTokenStringAdapter, and XResultTreeFrag.
virtual const XalanDOMString& XObject::str | ( | ) | const [virtual] |
Cast result object to a string.
Reimplemented in XBoolean, XNodeSetBase, XNull, XNumber, XNumberBase, XString, XStringAdapter, XStringBase, XStringCached, XStringReference, XToken, XTokenNumberAdapter, XTokenStringAdapter, XUnknown, and XResultTreeFrag.
virtual void XObject::str | ( | FormatterListener & | formatterListener, |
MemberFunctionPtr | function | ||
) | const [pure virtual] |
Send the string value to a FormatterListener instance.
formatterListener | The FormatterListener instance |
function | A pointer to the member function of FormatterListener to call |
Implemented in XBoolean, XNodeSetBase, XNull, XNumber, XNumberBase, XString, XStringAdapter, XStringBase, XStringCached, XStringReference, XToken, XTokenNumberAdapter, XTokenStringAdapter, XUnknown, and XResultTreeFrag.
static void XObject::string | ( | double | theNumber, |
FormatterListener & | formatterListener, | ||
MemberFunctionPtr | function | ||
) | [static] |
static void XObject::string | ( | const XalanNode & | theNode, |
XalanDOMString & | theString | ||
) | [static] |
Static conversion function.
static void XObject::string | ( | double | theNumber, |
XalanDOMString & | theString | ||
) | [static] |
Static conversion function.
static const XalanDOMString& XObject::string | ( | bool | theBool | ) | [static] |
Static conversion function.
static void XObject::string | ( | bool | theBool, |
FormatterListener & | formatterListener, | ||
MemberFunctionPtr | function | ||
) | [static] |
static void XObject::string | ( | const NodeRefListBase & | theNodeList, |
FormatterListener & | formatterListener, | ||
MemberFunctionPtr | function | ||
) | [static] |
static void XObject::string | ( | const XalanNode & | theNode, |
FormatterListener & | formatterListener, | ||
MemberFunctionPtr | function | ||
) | [static] |
static void XObject::string | ( | const NodeRefListBase & | theNodeList, |
XalanDOMString & | theString | ||
) | [static] |
Static conversion function.
virtual double XObject::stringLength | ( | ) | const [pure virtual] |
Get the length of the string value of the instance.
Implemented in XBoolean, XNodeSetBase, XNull, XNumber, XNumberBase, XString, XStringAdapter, XStringBase, XStringCached, XStringReference, XToken, XTokenNumberAdapter, XTokenStringAdapter, XUnknown, and XResultTreeFrag.
static void XObject::terminate | ( | ) | [static] |
friend class XObjectFactory [friend] |
friend class XObjectPtr [friend] |
const XalanDOMString& XObject::s_booleanString [static, protected] |
const XalanDOMString XObject::s_emptyString [static, protected] |
const XalanDOMString& XObject::s_falseString [static, protected] |
const XalanDOMString& XObject::s_nodesetString [static, protected] |
const XalanDOMString& XObject::s_numberString [static, protected] |
const XalanDOMString& XObject::s_resultTreeFragmentString [static, protected] |
const XalanDOMString& XObject::s_stringString [static, protected] |
const XalanDOMString& XObject::s_trueString [static, protected] |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|