org.milyn.ect.formats.unedifact
Class UnEdifactSpecificationReader
java.lang.Object
org.milyn.ect.formats.unedifact.UnEdifactSpecificationReader
- All Implemented Interfaces:
- EdiSpecificationReader
public class UnEdifactSpecificationReader
- extends java.lang.Object
- implements EdiSpecificationReader
UN/EDIFACT Specification Reader.
- Author:
- bardl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERCHANGE_TYPE
public static final java.lang.String INTERCHANGE_TYPE
- See Also:
- Constant Field Values
UnEdifactSpecificationReader
public UnEdifactSpecificationReader(java.util.zip.ZipInputStream specificationInStream,
boolean useImport)
throws java.io.IOException
- Throws:
java.io.IOException
getMessageNames
public java.util.Set<java.lang.String> getMessageNames()
- Description copied from interface:
EdiSpecificationReader
- Get a list of the names of the messages defined in the EDI Specification (e.g. UN/EDIFACT
specification) instance.
- Specified by:
getMessageNames in interface EdiSpecificationReader
- Returns:
- The namels of the messages.
getMappingModel
public Edimap getMappingModel(java.lang.String messageName)
throws java.io.IOException
- Description copied from interface:
EdiSpecificationReader
- Get the EDI Mapping Model for the named message.
The Mapping Model is constructed after converting/translating the
message definition in the specification. This is the "normalized"
definition of any EDI message in Smooks. From the EDI Mapping Model,
EJC can be used to construct Java Bindings etc.
- Specified by:
getMappingModel in interface EdiSpecificationReader
- Parameters:
messageName - The name of the message.
- Returns:
- The messages EDI Mapping Model.
- Throws:
java.io.IOException - Error reading/converting the message definition to
an EDI Mapping Model.
getInterchangeProperties
public java.util.Properties getInterchangeProperties()
- Description copied from interface:
EdiSpecificationReader
- Get the message interchange properties for the associated EDI specification.
- Specified by:
getInterchangeProperties in interface EdiSpecificationReader
- Returns:
- The message interchange properties for the associated EDI specification.
getDefinitionModel
public Edimap getDefinitionModel()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.