public interface XmlPresentable
The schema of the XML representation is up to implementation.
String toXml()
The XML document will not have a <?xml declaration.
Node importTo(Document hostDocument)
This method allows the implementations to restore XML metadata which is lost when a node is imported in other document or serialized to string.
hostDocument - requiredCopyright © 2016. All rights reserved.