TXmlEngSerializationOptions Class Reference

Link against: xmlengineDOM.lib


#include <
xmlengserializationoptions.h>

Detailed Description

Class allow to set serialization option during document save.
Dll XmlEngineDOM.lib
Since:
S60 v3.1

Public Member Functions

IMPORT_C TXmlEngSerializationOptions (TUint aOptionFlags=(TXmlEngSerializationOptions::KOptionIndent|TXmlEngSerializationOptions::KOptionStandalone|TXmlEngSerializationOptions::KOptionEncoding), const TDesC8 &aEncoding=KNullDesC8)
 Constructor.
IMPORT_C void SetNodeFilter (MXmlEngNodeFilter *aFilter)
 Set node filter.

Data Fields

TUint iOptions
 Options flag.
TPtrC8 iEncoding
 Encoding.
MXmlEngNodeFilteriNodeFilter
 Node filter.
MXmlEngDataSerializeriDataSerializer
 Object whose serialization callback is invoked.

Static Public Attributes

static const TUint KOptionIndent = 0x01
 Use indent in output.
static const TUint KOptionOmitXMLDeclaration = 0x02
 Skip xml declaration.
static const TUint KOptionStandalone = 0x04
 Add standalone in xml declaration.
static const TUint KOptionEncoding = 0x08
 Add encoding in xml declaration.
static const TUint KOptionIncludeNsPrefixes = 0x10
 Not supported currently.
static const TUint KOptionCDATASectionElements = 0x20
 Not supported currently.
static const TUint KOptionDecodeBinaryContainers = 0x40
 Decode base64 encoded binary containers content upon XOP serialization.

Constructor & Destructor Documentation

IMPORT_C TXmlEngSerializationOptions::TXmlEngSerializationOptions TUint  aOptionFlags = (TXmlEngSerializationOptions::KOptionIndent|TXmlEngSerializationOptions::KOptionStandalone|TXmlEngSerializationOptions::KOptionEncoding),
const TDesC8 &  aEncoding = KNullDesC8
 

Constructor.

Since:
S60 v3.1
Parameters:
aOptionFlags Serialization options
aEncoding Serialization encoding

Member Function Documentation

IMPORT_C void TXmlEngSerializationOptions::SetNodeFilter MXmlEngNodeFilter aFilter  ) 
 

Set node filter.

Since:
S60 v3.1
Parameters:
aFilter New node filter

Field Documentation

MXmlEngDataSerializer* TXmlEngSerializationOptions::iDataSerializer
 

Object whose serialization callback is invoked.

TPtrC8 TXmlEngSerializationOptions::iEncoding
 

Encoding.

MXmlEngNodeFilter* TXmlEngSerializationOptions::iNodeFilter
 

Node filter.

TUint TXmlEngSerializationOptions::iOptions
 

Options flag.

const TUint TXmlEngSerializationOptions::KOptionCDATASectionElements = 0x20 [static]
 

Not supported currently.

const TUint TXmlEngSerializationOptions::KOptionDecodeBinaryContainers = 0x40 [static]
 

Decode base64 encoded binary containers content upon XOP serialization.

const TUint TXmlEngSerializationOptions::KOptionEncoding = 0x08 [static]
 

Add encoding in xml declaration.

KOptionOmitXMLDeclaration must not be set

const TUint TXmlEngSerializationOptions::KOptionIncludeNsPrefixes = 0x10 [static]
 

Not supported currently.

const TUint TXmlEngSerializationOptions::KOptionIndent = 0x01 [static]
 

Use indent in output.

const TUint TXmlEngSerializationOptions::KOptionOmitXMLDeclaration = 0x02 [static]
 

Skip xml declaration.

const TUint TXmlEngSerializationOptions::KOptionStandalone = 0x04 [static]
 

Add standalone in xml declaration.

KOptionOmitXMLDeclaration must not be set


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top