org.mule.module.xml.util
Class XMLTestUtils

java.lang.Object
  extended by org.mule.module.xml.util.XMLTestUtils

public class XMLTestUtils
extends Object


Constructor Summary
XMLTestUtils()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLTestUtils

public XMLTestUtils()
Method Detail

getXmlMessageVariants

public static List<?> getXmlMessageVariants(String resource)
                                     throws Exception
Throws:
Exception

toXmlStreamReader

public static XMLStreamReader toXmlStreamReader(String resource)
                                         throws IOException,
                                                XMLStreamException
Throws:
IOException
XMLStreamException

toSource

public static Source toSource(String resource)
                       throws Exception
Throws:
Exception

toW3cDocument

public static Document toW3cDocument(String resource)
                              throws IOException,
                                     SAXException,
                                     ParserConfigurationException
Throws:
IOException
SAXException
ParserConfigurationException

toInputSource

public static InputSource toInputSource(String resource)
                                 throws IOException
Throws:
IOException

toDom4jDocument

public static org.dom4j.Document toDom4jDocument(String resource)
                                          throws IOException,
                                                 org.dom4j.DocumentException
Throws:
IOException
org.dom4j.DocumentException

toString

public static String toString(String resource)
                       throws IOException
Throws:
IOException

toInputStream

public static InputStream toInputStream(String resource)
                                 throws IOException
Throws:
IOException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.