Package
caplin.core

XmlSerializer

Provides a serialize method to work around older browsers lack of an XMLSerializer object.

Constructor Summary

Attributes Name and Description
caplin.core.XmlSerializer()

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

Method Summary

Attributes Name and Description
<static> String serialize(Object oXml)

Serializes some XML to a string.

Constructor Detail

caplin.core.XmlSerializer()

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

Method Detail

<static> String serialize(Object oXml)

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
Object oXml the XML to serialize to a string.
Returns
a String representation of the provided XML.