org.milyn.edi.utils
Class EDIParsingUtils

java.lang.Object
  extended by org.milyn.edi.utils.EDIParsingUtils

public class EDIParsingUtils
extends Object

Utility class with helpers to construct validating parser of the EDIFACT files

Author:
zubairov

Constructor Summary
EDIParsingUtils()
           
 
Method Summary
static XMLReader createValidatingReader()
          This utility method creates an XMLReader that will validate XML moreover it will load XML Schemas from the Smooks mapping JAR files presented in the classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDIParsingUtils

public EDIParsingUtils()
Method Detail

createValidatingReader

public static XMLReader createValidatingReader()
                                        throws IOException,
                                               SAXNotRecognizedException,
                                               SAXNotSupportedException
This utility method creates an XMLReader that will validate XML moreover it will load XML Schemas from the Smooks mapping JAR files presented in the classpath.

Returns:
Throws:
IOException
SAXNotRecognizedException
SAXNotSupportedException


Copyright © 2018. All rights reserved.