Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

WBXMLParser_s Struct Reference

The WBXML Parser. More...

Collaboration diagram for WBXMLParser_s:

Collaboration graph
[legend]
List of all members.

Public Attributes

void * user_data
WBXMLContentHandlercontent_hdl
WBXMLBufferwbxml
WBXMLBufferstrstbl
const WBXMLLangEntrylangTable
const WBXMLLangEntrymainTable
const WBXMLTagEntrycurrent_tag
WBXMLLanguage lang_forced
unsigned int public_id
int public_id_index
int charset
unsigned int pos
WBXMLVersion version
unsigned char tagCodePage
unsigned char attrCodePage

Detailed Description

The WBXML Parser.

Warning:
For now 'current_tag' field is only used for WV Content Parsing. And for this use, it works. But this field is reset after End Tag, and as there is no Linked List mecanism, this is bad for cascading elements: we don't fill this field with parent Tag when parsing End Tag.

Definition at line 79 of file wbxml_parser.c.


Member Data Documentation

unsigned char WBXMLParser_s::attrCodePage
 

Current Attribute Code Page

Definition at line 95 of file wbxml_parser.c.

Referenced by wbxml_parser_create().

int WBXMLParser_s::charset
 

Charset specified in WBXML document

Definition at line 91 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), and wbxml_parser_parse().

WBXMLContentHandler* WBXMLParser_s::content_hdl
 

Content Handlers Callbacks

Definition at line 81 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), wbxml_parser_parse(), and wbxml_parser_set_content_handler().

const WBXMLTagEntry* WBXMLParser_s::current_tag
 

Current Tag

Definition at line 86 of file wbxml_parser.c.

Referenced by wbxml_parser_create().

WBXMLLanguage WBXMLParser_s::lang_forced
 

Language forced by User

Definition at line 88 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), wbxml_parser_parse(), and wbxml_parser_set_language().

const WBXMLLangEntry* WBXMLParser_s::langTable
 

Current document Language Table

Definition at line 84 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), wbxml_parser_get_wbxml_public_id(), wbxml_parser_get_xml_public_id(), and wbxml_parser_parse().

const WBXMLLangEntry* WBXMLParser_s::mainTable
 

Main WBXML Languages Table

Definition at line 85 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), and wbxml_parser_set_main_table().

unsigned int WBXMLParser_s::pos
 

Position of parsing curser in wbxml

Definition at line 92 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), and wbxml_parser_get_current_byte_index().

unsigned int WBXMLParser_s::public_id
 

Public ID specified in WBXML document

Definition at line 89 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), and wbxml_parser_parse().

int WBXMLParser_s::public_id_index
 

If Public ID is a String Table reference, this is the index defined in the strtbl

Definition at line 90 of file wbxml_parser.c.

Referenced by wbxml_parser_create().

WBXMLBuffer* WBXMLParser_s::strstbl
 

String Table specified in WBXML document

Definition at line 83 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), and wbxml_parser_destroy().

unsigned char WBXMLParser_s::tagCodePage
 

Current Tag Code Page

Definition at line 94 of file wbxml_parser.c.

Referenced by wbxml_parser_create().

void* WBXMLParser_s::user_data
 

User Data

Definition at line 80 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), wbxml_parser_parse(), and wbxml_parser_set_user_data().

WBXMLVersion WBXMLParser_s::version
 

WBXML Version field specified in WBXML document

Definition at line 93 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), wbxml_parser_get_wbxml_version(), and wbxml_parser_parse().

WBXMLBuffer* WBXMLParser_s::wbxml
 

The wbxml we are parsing

Definition at line 82 of file wbxml_parser.c.

Referenced by wbxml_parser_create(), wbxml_parser_destroy(), and wbxml_parser_parse().


The documentation for this struct was generated from the following file:
Generated on Mon Nov 24 20:09:47 2003 for WBXML Library by doxygen1.3-rc1