public class XMLTestUtils extends Object
Constructor and Description |
---|
XMLTestUtils() |
Modifier and Type | Method and Description |
---|---|
static List<?> |
getXmlMessageVariants(String resource) |
static org.dom4j.Document |
toDom4jDocument(String resource) |
static InputSource |
toInputSource(String resource) |
static InputStream |
toInputStream(String resource) |
static Source |
toSource(String resource) |
static String |
toString(String resource) |
static Document |
toW3cDocument(String resource) |
static XMLStreamReader |
toXmlStreamReader(String resource) |
public static List<?> getXmlMessageVariants(String resource) throws Exception
Exception
public static XMLStreamReader toXmlStreamReader(String resource) throws IOException, XMLStreamException
IOException
XMLStreamException
public static Document toW3cDocument(String resource) throws IOException, SAXException, ParserConfigurationException
public static InputSource toInputSource(String resource) throws IOException
IOException
public static org.dom4j.Document toDom4jDocument(String resource) throws IOException, org.dom4j.DocumentException
IOException
org.dom4j.DocumentException
public static String toString(String resource) throws IOException
IOException
public static InputStream toInputStream(String resource) throws IOException
IOException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.