Caplin Trader 4.8.0

Class: module:caplin/core/XmlSerializer

module:caplin/core/XmlSerializer

Constructor

new module:caplin/core/XmlSerializer()

This is a static utility class and should not be constructed.

Methods

(static) serialize(oXml) → {String}

Serializes some XML to a string.

Makes use of XMLSerializer where it's available. If it is unable to serialize the passed XML, it throws an exception.

Parameters:
Name Type Description
oXml Object the XML to serialize to a string.
Returns:
a String representation of the provided XML.
Type
String