org.milyn.edisax.model
Class EDIConfigDigester

java.lang.Object
  extended by org.milyn.edisax.model.EDIConfigDigester

public class EDIConfigDigester
extends Object

Digests an edi-message-mapping and populates a Edimap.

Author:
bardl

Field Summary
static String XSD_V10
           
static String XSD_V11
           
 
Constructor Summary
EDIConfigDigester()
           
 
Method Summary
static Edimap digestConfig(InputStream stream)
          Digest the XML edi-message-mapping configuration stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSD_V10

public static final String XSD_V10
See Also:
Constant Field Values

XSD_V11

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

EDIConfigDigester

public EDIConfigDigester()
Method Detail

digestConfig

public static Edimap digestConfig(InputStream stream)
                           throws IOException,
                                  SAXException,
                                  EDIConfigurationException
Digest the XML edi-message-mapping configuration stream.

Parameters:
stream - the edi-message-mapping stream.
Returns:
the Edimap.
Throws:
IOException - Error parsing the XML stream.
SAXException - Error parsing the XML stream.
EDIConfigurationException - Multiple or no namespaces in edi-message-mapping.


Copyright © 2008. All Rights Reserved.