[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Provides access to functions and variables available in the XPath environment.
Source position: laz2_xpath.pas line 389
type TXPathEnvironment = class |
||
protected |
||
function xpLast(); |
|
Implements the last() function from the XPath Core Function Library. |
function xpPosition(); |
|
Implements the position() function from the XPath Core Function Library. |
function xpCount(); |
|
Implements the count() function from the XPath Core Function Library. |
function xpId(); |
|
Implements the id() function from the XPath Core Function Library. |
function xpLocalName(); |
|
Implements the local-name() function from the XPath Core Function Library. |
function xpNamespaceURI(); |
|
Implements the namespace-uri() function from the XPath Core Function Library. |
function xpName(); |
|
Implements the name() function from the XPath Core Function Library. |
function xpString(); |
|
Implements the string() function from the XPath Core Function Library. |
function xpConcat(); |
|
Implements the concat() function from the XPath Core Function Library. |
function xpStartsWith(); |
|
Implements the starts-with() function from the XPath Core Function Library. |
function xpContains(); |
|
Implements the contains() function from the XPath Core Function Library. |
function xpSubstringBefore(); |
|
Implements the substring-before() function from the XPath Core Function Library. |
function xpSubstringAfter(); |
|
Implements the substring-after() function from the XPath Core Function Library. |
function xpSubstring(); |
|
Implements the substring() function from the XPath Core Function Library. |
function xpStringLength(); |
|
Implements the string-length() function from the XPath Core Function Library. |
function xpNormalizeSpace(); |
|
Implements the normalize-space() function from the XPath Core Function Library. |
function xpTranslate(); |
|
Implements the translate() function from the XPath Core Function Library. |
function xpBoolean(); |
|
Implements the boolean() function from the XPath Core Function Library. |
function xpNot(); |
|
Implements the not() function from the XPath Core Function Library. |
function xpTrue(); |
|
Implements the true() function from the XPath Core Function Library. |
function xpFalse(); |
|
Implements the false() function from the XPath Core Function Library. |
function xpLang(); |
|
Implements the lang() function from the XPath Core Function Library. |
function xpNumber(); |
|
Implements the number() function from the XPath Core Function Library. |
function xpSum(); |
|
Implements the sum() function from the XPath Core Function Library. |
function xpFloor(); |
|
Implements the floor() function from the XPath Core Function Library. |
function xpCeiling(); |
|
Implements the ceiling() function from the XPath Core Function Library. |
function xpRound(); |
|
Implements the round() function from the XPath Core Function Library. |
public |
||
constructor Create; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
function GetFunctionIndex(); |
|
Gets the ordinal position of the XPath function with the specified name. |
function GetVariableIndex(); |
|
Gets the ordinal position of the variable with the specified name. |
procedure AddFunction(); |
|
Adds a function to the Functions property with the specified name. |
procedure AddVariable(); |
|
Adds a variable with the given name and value to the Variables property. |
procedure RemoveFunction(); |
|
Removes a function with the specified name or ordinal position from the Functions property. |
procedure RemoveVariable(); |
|
Removes a variable with the specified name or ordinal position. |
property FunctionCount: Integer; [r] |
|
Indicates the number of XPath functions in the XPath environment. |
property VariableCount: Integer; [r] |
|
Indicates the number of variables defined in the XPath environment. |
property Functions []: TXPathFunction; [r] |
|
Provides indexed access to XPath functions in the environment. |
property FunctionsByName []: TXPathFunction; [r] |
|
Gets an XPath function with the specified name. |
property Variables []: TXPathVariable; [r] |
|
Provides indexed access to XPath variables in the XPath environment. |
property VariablesByName []: TXPathVariable; [r] |
|
Gets an XPath variable with the specified name. |
end; |
|
Provides access to functions and variables available in the XPath environment. |
|
| | ||
TObject |
TXPathEnvironment is a class which provides access to the core function library and variable bindings available for use in an XPath context. TXPathEnvironment is not an interface that is directly mandated in the XPath specification, but the functionality it provides is required for any XPath Context node.
TXPathEnvironment provides methods used to add or remove Functions or Variables in the XPath environment. Properties are provided to access Functions and Variables by their name or their ordinal position. The Functions property is pre-populated with the Core Function Library described in the XPath specification.
|
Implements an XPath function. |
|
|
Base class used to represent an XPath variables and results. |
Version 4.0 | Generated 2025-05-03 | Home |