XMLParser

Inherits: Reference < Object

Category: Core

Brief Description

Member Functions

int get_attribute_count ( ) const
String get_attribute_name ( int idx ) const
String get_attribute_value ( int idx ) const
int get_current_line ( ) const
String get_named_attribute_value ( String name ) const
String get_named_attribute_value_safe ( String name ) const
String get_node_data ( ) const
String get_node_name ( ) const
int get_node_offset ( ) const
int get_node_type ( )
bool has_attribute ( String name ) const
bool is_empty ( ) const
int open ( String file )
int open_buffer ( RawArray buffer )
int read ( )
int seek ( int pos )
void skip_section ( )

Numeric Constants

  • NODE_NONE = 0
  • NODE_ELEMENT = 1
  • NODE_ELEMENT_END = 2
  • NODE_TEXT = 3
  • NODE_COMMENT = 4
  • NODE_CDATA = 5
  • NODE_UNKNOWN = 6

Member Function Description

  • int get_attribute_count ( ) const
  • String get_attribute_name ( int idx ) const
  • String get_attribute_value ( int idx ) const
  • int get_current_line ( ) const
  • String get_named_attribute_value_safe ( String name ) const
  • String get_node_data ( ) const
  • String get_node_name ( ) const
  • int get_node_offset ( ) const
  • int get_node_type ( )
  • bool is_empty ( ) const
  • void skip_section ( )