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