TXPathVariable class
Base class used to represent an XPath variables and results.
Declaration
TXPathVariable = classDescends from it: TXPathBooleanVariable TXPathNodeSetVariable TXPathNumberVariable TXPathStringVariable
Description
TXPathVariable is a class used to represent Variables and Results
for an XPath expression. TXPathVariable is a base class, and contains
abstract methods which must be implemented in descendent classes for the Node
Set, String, Number, and Boolean data types allowed in XPath variables and
results.
TXPathVariable is used as the return type for the Evaluate method in TXPathExprNode and descendent classes. It is also used as the return value for Functions implemented in TXPathEnvironment.
Methods
Error | protected | Raises an exception with the specified message and arguments. |
TypeName | public | Gets the Type name for the XPath variable class instance. |
Release | public | Decrements the reference count for the variable. |
AsNodeSet | public | Gets the XPath variable as a node set. |
AsBoolean | public | Gets the XPath variable as a Boolean value. |
AsNumber | public | Gets the XPath variable as a Numeric value. |
AsText | public | Gets the XPath variable as a String value. |
Fields
FRefCount | protected |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
