class TXmlEngSerializationOptions |
This class stores serialization options to be used when a document is serialized. RXmlEngDocument::SaveL()
Public Member Functions | |
---|---|
TXmlEngSerializationOptions(TUint, const TDesC8 &) | |
IMPORT_C void | SetDataSerializer(MXmlEngDataSerializer *) |
IMPORT_C void | SetNodeFilter(MXmlEngNodeFilter *) |
IMPORT_C | TXmlEngSerializationOptions | ( | TUint | aOptionFlags = (TXmlEngSerializationOptions::KOptionIndent|TXmlEngSerializationOptions::KOptionStandalone|TXmlEngSerializationOptions::KOptionEncoding), |
const TDesC8 & | aEncoding = KNullDesC8 | |||
) |
Constructor
TUint aOptionFlags = (TXmlEngSerializationOptions::KOptionIndent|TXmlEngSerializationOptions::KOptionStandalone|TXmlEngSerializationOptions::KOptionEncoding) | Serialization options |
const TDesC8 & aEncoding = KNullDesC8 | Serialization encoding. If KNullDesC8, the document encoding is used. |
IMPORT_C void | SetDataSerializer | ( | MXmlEngDataSerializer * | aSerializer | ) |
Sets a data serializer. Ownership of the data serializer is not transferred and the caller is responsbile for freeing aSerializer.
MXmlEngDataSerializer * aSerializer | The data serializer to set |
IMPORT_C void | SetNodeFilter | ( | MXmlEngNodeFilter * | aFilter | ) |
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.
MXmlEngNodeFilter * aFilter | The node filter to set |
const TUint | KOptionCDATASectionElements | [static] |
Not supported
const TUint | KOptionDecodeBinaryContainers | [static] |
Decode base64 encoded binary containers content upon XOP serialization
const TUint | KOptionEncoding | [static] |
Add encoding in xml declaration. KOptionOmitXMLDeclaration must not be set
const TUint | KOptionOmitXMLDeclaration | [static] |
Skip xml declaration
const TUint | KOptionStandalone | [static] |
Add standalone in xml declaration. KOptionOmitXMLDeclaration must not be set