public class XmlTransformationUtils extends Object
SoapService Transformation utility class| Constructor and Description |
|---|
XmlTransformationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
nodeToString(Node node) |
static Document |
stringToDocument(String xml) |
static Element |
stringToDomElement(String xml) |
static XMLStreamReader |
stringToXmlStreamReader(String xml) |
static XMLStreamReader |
stringToXmlStreamReader(String xml,
String encoding) |
static Document |
xmlStreamReaderToDocument(XMLStreamReader xmlStreamReader) |
public static Document xmlStreamReaderToDocument(XMLStreamReader xmlStreamReader) throws XmlTransformationException
XmlTransformationExceptionpublic static Element stringToDomElement(String xml) throws XmlTransformationException
XmlTransformationExceptionpublic static Document stringToDocument(String xml) throws XmlTransformationException
XmlTransformationExceptionpublic static String nodeToString(Node node) throws XmlTransformationException
XmlTransformationExceptionpublic static XMLStreamReader stringToXmlStreamReader(String xml) throws XmlTransformationException
XmlTransformationExceptionpublic static XMLStreamReader stringToXmlStreamReader(String xml, String encoding) throws XmlTransformationException
XmlTransformationExceptionCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.