Class TXQValueSequence
Unit
xquery
Declaration
type TXQValueSequence = class(TXQValue)
Description
Type for a sequence containing an arbitrary number (>= 0) of other IXQValue
Hierarchy
- TInterfacedObject
- TXQValue
- TXQValueSequence
Overview
Fields
Methods
Description
Fields
|
seq: TXQVList; |
list of the contained sequence values.
|
Methods
|
constructor create(capacity: integer = 0); |
|
|
constructor create(firstChild: IXQValue); |
|
|
function isUndefined: boolean; override; |
|
|
function toBoolean: boolean; override; |
Converts the first element to boolean
|
|
function toBooleanEffective: boolean; override; |
|
|
function toInt64: Int64; override; |
Converts the first element to integer
|
|
function toString: string; override; |
Converts the first element to string
|
|
function toJoinedString(const sep: string=' '): string; override; |
|
|
function toDateTime: TDateTime; override; |
Converts the first element to TDateTime
|
|
function toNode: TTreeNode; override; |
Converts the first element to a node
|
|
function toArray: TXQVArray; override; |
Returns all elements as array
|
|
function toXQVList: TXQVList; override; |
Returns all elements as list (which must be freed by the caller)
|
|
function getSequenceCount: integer; override; |
|
|
function get(i: integer): IXQValue; override; |
|
|
function map(const q: string): IXQValue; override; |
|
|
function order(const q: string): IXQValue; override; |
|
|
function jsonSerialize(nodeFormat: TTreeNodeSerialization; insertWhitespace: boolean = false; const indent: string = ''): string; override; |
|
|
function xmlSerialize(nodeFormat: TTreeNodeSerialization; sequenceTag: string = 'seq'; elementTag: string = 'e'; objectTag: string = 'object'): string; override; |
|
|
procedure add(const value: IXQValue); inline; |
Simply adds a value to the sequence (notice that a xpath sequence cannot contain another sequence, so they will be merged)
|
|
procedure addOrdered(const node: IXQValue); inline; |
Adds a value to a sequence of nodes sorted in document order(notice that a xpath sequence cannot contain another sequence, so they will be merged)
|
|
destructor Destroy; override; |
|
Generated by PasDoc 0.14.0.
|