Class XMLUtils
java.lang.Object
org.opengis.cite.ogcapiprocesses10.util.XMLUtils
Provides various utility methods for accessing or manipulating XML representations.
- Author:
- bpr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
writeNodeToString
(Node node) Writes the content of a DOM Node to a string.
-
Constructor Details
-
XMLUtils
public XMLUtils()
-
-
Method Details
-
writeNodeToString
Writes the content of a DOM Node to a string. The XML declaration is omitted and the character encoding is set to "US-ASCII" (any character outside of this set is serialized as a numeric character reference).- Parameters:
node
- The DOM Node to be serialized.- Returns:
- A String representing the content of the given node.
-