Sign in Join
FPDoc Onlineexperiment

TXPathVariable class

In unit Laz2_XPath

Base class used to represent an XPath variables and results.

Declaration

pascal
TXPathVariable = class

Descends 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

ErrorprotectedRaises an exception with the specified message and arguments.
TypeNamepublicGets the Type name for the XPath variable class instance.
ReleasepublicDecrements the reference count for the variable.
AsNodeSetpublicGets the XPath variable as a node set.
AsBooleanpublicGets the XPath variable as a Boolean value.
AsNumberpublicGets the XPath variable as a Numeric value.
AsTextpublicGets the XPath variable as a String value.

Fields

FRefCountprotected

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.