Package org.n52.svalbard.util
Class W3cHelper
- java.lang.Object
-
- org.n52.svalbard.util.W3cHelper
-
public final class W3cHelper extends Object
Helper class for W3C- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetContentFromElement(Element element, String namespaceURI, String localName)Get text content from element by namespace.static StringnodeToXmlString(Node node)Parses w3c.Node to String
-
-
-
Method Detail
-
nodeToXmlString
public static String nodeToXmlString(Node node) throws IOException
Parses w3c.Node to String- Parameters:
node- Node to parse.- Returns:
- Node as String.
- Throws:
IOException- if an error occurs.
-
-