Interface XMLSerializer

All Known Implementing Classes:
XMLSerializerImpl

public interface XMLSerializer

XMLSerializer interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    The subtree rooted by the specified element is serialized to a string.
  • Method Details

    • serializeToString

      String serializeToString(Node root)
      The subtree rooted by the specified element is serialized to a string.
      Parameters:
      root - the root of the subtree to be serialized (this may be any node, even a document)
      Returns:
      the serialized string