com.gargoylesoftware.htmlunit.activex.javascript.msxml
Class XMLSerializer
java.lang.Object
com.gargoylesoftware.htmlunit.activex.javascript.msxml.XMLSerializer
public class XMLSerializer
- extends Object
A JavaScript object for XMLSerializer.
- Version:
- $Revision: 9017 $
- Author:
- Ahmed Ashour, Darrell DeBoer, Ronald Brill, Frank Danek
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSerializer
public XMLSerializer(boolean preserveWhiteSpace)
- Parameters:
preserveWhiteSpace - whether to preserve whitespaces or not
serializeToString
public String serializeToString(XMLDOMNode 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
Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.