org.milyn.edi.test
Class EJCTestUtil

java.lang.Object
  extended by org.milyn.edi.test.EJCTestUtil

public class EJCTestUtil
extends Object

Author:
tom.fennelly@gmail.com

Field Summary
static String ORG_SMOOKS_EJC_TEST
           
 
Constructor Summary
EJCTestUtil()
           
 
Method Summary
static Archive buildModelArchive(InputStream mappingModel, String modelJavaPackage)
           
static void dumpModel(InputStream mappingModel)
           
static void testModel(Archive archive, String ediMessageFile, String factoryClassName, boolean dump, Class callerClass)
           
static void testModel(String ediMessageFile, InputStream mappingModelStream, String factoryClassName, boolean dump, Class callerClass)
           
static void testModel(String ediMessageFile, String factoryClassName, boolean dump)
           
static void testModel(String ediMappingModelFile, String ediMessageFile, String factoryClassName)
           
static void testModel(String ediMappingModelFile, String ediMessageFile, String factoryClassName, boolean dump)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORG_SMOOKS_EJC_TEST

public static final String ORG_SMOOKS_EJC_TEST
See Also:
Constant Field Values
Constructor Detail

EJCTestUtil

public EJCTestUtil()
Method Detail

dumpModel

public static void dumpModel(InputStream mappingModel)
                      throws EDIConfigurationException,
                             ClassNotFoundException,
                             IOException,
                             SAXException,
                             IllegalNameException
Throws:
EDIConfigurationException
ClassNotFoundException
IOException
SAXException
IllegalNameException

buildModelArchive

public static Archive buildModelArchive(InputStream mappingModel,
                                        String modelJavaPackage)
                                 throws EDIConfigurationException,
                                        ClassNotFoundException,
                                        IOException,
                                        SAXException,
                                        IllegalNameException
Throws:
EDIConfigurationException
ClassNotFoundException
IOException
SAXException
IllegalNameException

testModel

public static void testModel(String ediMappingModelFile,
                             String ediMessageFile,
                             String factoryClassName)
                      throws EDIConfigurationException,
                             IOException,
                             SAXException,
                             IllegalNameException
Throws:
EDIConfigurationException
IOException
SAXException
IllegalNameException

testModel

public static void testModel(String ediMappingModelFile,
                             String ediMessageFile,
                             String factoryClassName,
                             boolean dump)
                      throws EDIConfigurationException,
                             IOException,
                             SAXException,
                             IllegalNameException
Throws:
EDIConfigurationException
IOException
SAXException
IllegalNameException

testModel

public static void testModel(String ediMessageFile,
                             InputStream mappingModelStream,
                             String factoryClassName,
                             boolean dump,
                             Class callerClass)
                      throws IOException,
                             SAXException,
                             IllegalNameException
Throws:
IOException
SAXException
IllegalNameException

testModel

public static void testModel(Archive archive,
                             String ediMessageFile,
                             String factoryClassName,
                             boolean dump,
                             Class callerClass)
                      throws IOException
Throws:
IOException

testModel

public static void testModel(String ediMessageFile,
                             String factoryClassName,
                             boolean dump)
                      throws IOException
Throws:
IOException


Copyright © 2014. All Rights Reserved.