Interface: XmlSerializable

XmlSerializable

Interface for all classes whose objects can be serialized to and deserialized from XML documents and XML DOM objects.

Methods

(abstract, static) fromXmlDom(xmlElement) → {T}

Parameters:
Name Type Description
xmlElement String The XML DOM object.
Source:
Returns:
Type
T

(abstract, static) fromXmlString(xml) → {T}

Parameters:
Name Type Description
xml String The XML document.
Source:
Returns:
Type
T

(abstract) toXmlDom(ownerDocument) → {Object}

Parameters:
Name Type Description
ownerDocument Object The owner document of the generated XML element.
Source:
Returns:
XML DOM object for this object.
Type
Object

(abstract) toXmlString() → {String}

Source:
Returns:
XML document for this object. Must honor PRETTY_XML config.
Type
String