Package org.loboevolution.html.js.xml
Class XMLSerializerImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.xml.XMLSerializerImpl
- All Implemented Interfaces:
ScriptableDelegate
,XMLSerializer
XMLSerializer class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
getXString
(Node node, boolean withoutNamespaces, StringBuilder buff, boolean endTag) serializeToString
(Node node) The subtree rooted by the specified element is serialized to a string.Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
-
Constructor Details
-
XMLSerializerImpl
public XMLSerializerImpl()
-
-
Method Details
-
serializeToString
The subtree rooted by the specified element is serialized to a string.- Specified by:
serializeToString
in interfaceXMLSerializer
- 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)
-