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

WBXMLEncoder_s Struct Reference

Collaboration diagram for WBXMLEncoder_s:

Collaboration graph
[legend]
List of all members.

Public Attributes

WBXMLTreetree
WBXMLBufferoutput
const WBXMLTagEntrycurrent_tag
const WBXMLAttrEntrycurrent_attr
unsigned char tagCodePage
unsigned char attrCodePage
unsigned char ignore_empty_text
unsigned char remove_text_blanks
WBXMLEncoderOutputType output_type
WBXMLEncoderXMLGenType xml_gen_type
unsigned char indent_delta
unsigned char indent
unsigned char in_content
unsigned char xml_encode_header
WBXMLVersion wbxml_version

Detailed Description

Warning:
For now 'current_tag' field is only used for WV Content Encoding. 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 97 of file wbxml_encoder.c.


Member Data Documentation

unsigned char WBXMLEncoder_s::attrCodePage
 

Current Attribute Code Page

Definition at line 103 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real().

const WBXMLAttrEntry* WBXMLEncoder_s::current_attr
 

Current Attribute

Definition at line 101 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real().

const WBXMLTagEntry* WBXMLEncoder_s::current_tag
 

Current Tag (See The Warning For This Field !)

Definition at line 100 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real().

unsigned char WBXMLEncoder_s::ignore_empty_text
 

Do we ignore empty text nodes (ie: ignorable whitespaces)?

Definition at line 104 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), and wbxml_encoder_set_ignore_empty_text().

unsigned char WBXMLEncoder_s::in_content
 

We are in Content Text (used for indentation when generating XML output)

Definition at line 110 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real().

unsigned char WBXMLEncoder_s::indent
 

Current Indent

Definition at line 109 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real().

unsigned char WBXMLEncoder_s::indent_delta
 

Indent Delta (number of spaces)

Definition at line 108 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), and wbxml_encoder_set_indent().

WBXMLBuffer* WBXMLEncoder_s::output
 

The output (wbxml or xml) we are producing

Definition at line 99 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), wbxml_encoder_destroy(), wbxml_encoder_encode_to_wbxml(), and wbxml_encoder_encode_to_xml().

WBXMLEncoderOutputType WBXMLEncoder_s::output_type
 

Output Type

Definition at line 106 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), wbxml_encoder_encode_to_wbxml(), and wbxml_encoder_encode_to_xml().

unsigned char WBXMLEncoder_s::remove_text_blanks
 

Do we remove leading and trailing blanks in text nodes ?

Definition at line 105 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), and wbxml_encoder_set_remove_text_blanks().

unsigned char WBXMLEncoder_s::tagCodePage
 

Current Tag Code Page

Definition at line 102 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real().

WBXMLTree* WBXMLEncoder_s::tree
 

WBXML Tree to Encode

Definition at line 98 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), wbxml_encoder_encode_to_wbxml(), wbxml_encoder_encode_to_xml(), and wbxml_encoder_set_tree().

WBXMLVersion WBXMLEncoder_s::wbxml_version
 

WBXML Version to use (when generating WBXML output)

Definition at line 117 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), and wbxml_encoder_set_wbxml_version().

unsigned char WBXMLEncoder_s::xml_encode_header
 

Do we generate XML Header ?

Definition at line 116 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real().

WBXMLEncoderXMLGenType WBXMLEncoder_s::xml_gen_type
 

XML Generation Type

Definition at line 107 of file wbxml_encoder.c.

Referenced by wbxml_encoder_create_real(), and wbxml_encoder_set_xml_gen_type().


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