Class OgcXmlUtil
- java.lang.Object
-
- de.terrestris.shoguncore.util.interceptor.OgcXmlUtil
-
public class OgcXmlUtil extends java.lang.Object- Author:
- Daniel Koch, terrestris GmbH & Co. KG
-
-
Constructor Summary
Constructors Constructor Description OgcXmlUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.w3c.dom.ElementgetDocumentElement(org.w3c.dom.Document doc)Return the documentElementof aDocumentstatic org.w3c.dom.DocumentgetDocumentFromString(java.lang.String xml)static java.lang.StringgetPathInDocument(org.w3c.dom.Document document, java.lang.String path)static org.w3c.dom.NodeListgetPathInDocumentAsNodeList(org.w3c.dom.Document document, java.lang.String path)static java.lang.StringgetRequestBody(javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
getRequestBody
public static java.lang.String getRequestBody(javax.servlet.http.HttpServletRequest request)
- Parameters:
request-- Returns:
-
getDocumentFromString
public static org.w3c.dom.Document getDocumentFromString(java.lang.String xml) throws java.io.IOException- Parameters:
xml-- Returns:
- Throws:
java.io.IOException
-
getPathInDocument
public static java.lang.String getPathInDocument(org.w3c.dom.Document document, java.lang.String path) throws InterceptorException- Parameters:
document-path-- Returns:
- Throws:
InterceptorException
-
getPathInDocumentAsNodeList
public static org.w3c.dom.NodeList getPathInDocumentAsNodeList(org.w3c.dom.Document document, java.lang.String path) throws InterceptorException- Parameters:
document-path-- Returns:
- Throws:
InterceptorException
-
getDocumentElement
public static org.w3c.dom.Element getDocumentElement(org.w3c.dom.Document doc)
Return the documentElementof aDocument- Parameters:
doc- TheDocumentto obtain the document element from- Returns:
-
-