Class XMLSerializerImpl

java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.xml.XMLSerializerImpl
All Implemented Interfaces:
ScriptableDelegate, XMLSerializer

public class XMLSerializerImpl extends AbstractScriptableDelegate implements XMLSerializer

XMLSerializer class.

  • Constructor Details

    • XMLSerializerImpl

      public XMLSerializerImpl()
  • Method Details

    • serializeToString

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

      public static void getXString(Node node, boolean withoutNamespaces, StringBuilder buff, boolean endTag)