public class XmlUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static javax.xml.transform.TransformerFactory |
transformerFactory |
Constructor and Description |
---|
XmlUtils() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Document |
convertToDoc(java.io.InputStream in) |
static org.w3c.dom.Document |
convertToDoc(java.lang.String xml) |
static java.lang.String |
getElementText(org.w3c.dom.Element node) |
static java.lang.String |
getElementText(org.w3c.dom.Element root,
java.lang.String elementName) |
static java.lang.String |
getElementTextNS(org.w3c.dom.Element root,
java.lang.String namespaceURI,
java.lang.String elementName) |
protected static final javax.xml.transform.TransformerFactory transformerFactory
public static org.w3c.dom.Document convertToDoc(java.lang.String xml) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public static org.w3c.dom.Document convertToDoc(java.io.InputStream in) throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceException
public static java.lang.String getElementText(org.w3c.dom.Element node)
public static java.lang.String getElementText(org.w3c.dom.Element root, java.lang.String elementName)
public static java.lang.String getElementTextNS(org.w3c.dom.Element root, java.lang.String namespaceURI, java.lang.String elementName)
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.