TXmlEngSerializationOptions Class Reference
#include
<xml/dom/xmlengserializationoptions.h>
| class TXmlEngSerializationOptions |
Detailed Description
This class stores serialization options to be used when a document is serialized.
See also: RXmlEngDocument::SaveL()
Member Attribute Documentation
KOptionCDATASectionElements
| const TUint | KOptionCDATASectionElements | [static] |
KOptionDecodeBinaryContainers
| const TUint | KOptionDecodeBinaryContainers | [static] |
Decode base64 encoded binary containers content upon XOP serialization
KOptionEncoding
| const TUint | KOptionEncoding | [static] |
Add encoding in xml declaration. KOptionOmitXMLDeclaration must not be set
KOptionIncludeNsPrefixes
| const TUint | KOptionIncludeNsPrefixes | [static] |
KOptionIndent
| const TUint | KOptionIndent | [static] |
KOptionOmitXMLDeclaration
| const TUint | KOptionOmitXMLDeclaration | [static] |
KOptionStandalone
| const TUint | KOptionStandalone | [static] |
Add standalone in xml declaration. KOptionOmitXMLDeclaration must not be set
Constructor & Destructor Documentation
TXmlEngSerializationOptions ( TUint, const TDesC8 & )
| Parameter | Description | | aOptionFlags | Serialization options |
| aEncoding | Serialization encoding. If KNullDesC8, the document encoding is used. |
Member Function Documentation
SetDataSerializer ( MXmlEngDataSerializer * )
Sets a data serializer. Ownership of the data serializer is not transferred and the caller is responsbile for freeing aSerializer.
| Parameter | Description | | aSerializer | The data serializer to set |
SetNodeFilter ( MXmlEngNodeFilter * )
Sets a node filter. The node filter is used to choose which nodes from the tree are serialized. Ownership of the node filter is not transferred and the caller is responsible for freeing aFilter.
| Parameter | Description | | aFilter | The node filter to set |