Description | Hierarchy | Fields | Methods | Properties |
type TXMLReader = class(TWrapper)
Interface providing easy read access to a XML file.
![]() |
function Advance: Boolean; inline; |
![]() |
function GetAttribute(Index: LongInt): StringType; overload; inline; |
![]() |
function GetAttribute(const Name: StringType): StringType; overload; inline; |
![]() |
function GetAttributeAsFloat(Index: LongINt): Single; overload; inline; |
![]() |
function GetAttributeAsFloat(const Name: StringType): Single; overload; inline; |
![]() |
function GetAttributeAsInteger(Index: LongInt): LongInt; overload; inline; |
![]() |
function GetAttributeAsInteger(const Name: StringType): LongInt; overload; inline; |
![]() |
function GetAttributeName(Index: LongInt): StringType; inline; |
![]() |
function GetAttributeSafe(const Name: StringType): StringType; inline; |
![]() |
property AttributeCount: LongWord read GetAttributeCount; |
![]() |
property NodeData: StringType read GetNodeData; |
![]() |
property NodeEmpty: Boolean read IsEmptyElement; |
![]() |
property NodeName: StringType read GetNodeName; |
![]() |
property NodeType: TXMLNodeType read GetNodeType; |
![]() |
property ParserFormat: TTextFormat read GetParserFormat; |
![]() |
property SourceFormat: TTextFormat read GetSourceFormat; |
![]() |
function Advance: Boolean; inline; |
Advances to the next xml node. |
![]() |
function GetAttribute(Index: LongInt): StringType; overload; inline; |
Returns the value of an attribute. |
![]() |
function GetAttribute(const Name: StringType): StringType; overload; inline; |
Returns the value of an attribute. |
![]() |
function GetAttributeAsFloat(Index: LongINt): Single; overload; inline; |
Returns the value of an attribute as float. |
![]() |
function GetAttributeAsFloat(const Name: StringType): Single; overload; inline; |
Returns the value of an attribute as float. |
![]() |
function GetAttributeAsInteger(Index: LongInt): LongInt; overload; inline; |
Returns the value of an attribute as integer. |
![]() |
function GetAttributeAsInteger(const Name: StringType): LongInt; overload; inline; |
Returns the value of an attribute as integer. |
![]() |
function GetAttributeName(Index: LongInt): StringType; inline; |
Returns the name of an attribute. |
![]() |
function GetAttributeSafe(const Name: StringType): StringType; inline; |
Returns the value of an attribute in a safe way. |
![]() |
property AttributeCount: LongWord read GetAttributeCount; |
Attribute count of the current XML node. |
![]() |
property NodeData: StringType read GetNodeData; |
The data of the current node. |
![]() |
property NodeEmpty: Boolean read IsEmptyElement; |
Returns if an element is an empty element, like <foo />. |
![]() |
property NodeName: StringType read GetNodeName; |
The name of the current node. |
![]() |
property NodeType: TXMLNodeType read GetNodeType; |
The type of the current XML node. |
![]() |
property ParserFormat: TTextFormat read GetParserFormat; |
The format of the strings returned by the parser. |
![]() |
property SourceFormat: TTextFormat read GetSourceFormat; |
The source file text format. |