public class UnEdifactSpecificationReader extends Object implements EdiSpecificationReader
| Modifier and Type | Field and Description |
|---|---|
static String |
INTERCHANGE_TYPE |
INTERCHANGE_BINDING_CONFIG, MESSAGE_BINDING_CONFIG| Constructor and Description |
|---|
UnEdifactSpecificationReader(ZipInputStream specificationInStream,
boolean useImport) |
UnEdifactSpecificationReader(ZipInputStream specificationInStream,
boolean useImport,
boolean useShortName) |
| Modifier and Type | Method and Description |
|---|---|
Edimap |
getDefinitionModel() |
EdiDirectory |
getEdiDirectory(String... includeMessages)
Get the
EdiDirectory instance for specification. |
Properties |
getInterchangeProperties()
Get the message interchange properties for the associated EDI specification.
|
Edimap |
getMappingModel(String messageName)
Get the EDI Mapping Model for the named message.
|
Set<String> |
getMessageNames()
Get a list of the names of the messages defined in the EDI Specification (e.g.
|
public static final String INTERCHANGE_TYPE
public UnEdifactSpecificationReader(ZipInputStream specificationInStream, boolean useImport) throws IOException
IOExceptionpublic UnEdifactSpecificationReader(ZipInputStream specificationInStream, boolean useImport, boolean useShortName) throws IOException
IOExceptionpublic Set<String> getMessageNames()
EdiSpecificationReadergetMessageNames in interface EdiSpecificationReaderpublic Edimap getMappingModel(String messageName) throws IOException
EdiSpecificationReadergetMappingModel in interface EdiSpecificationReadermessageName - The name of the message.IOException - Error reading/converting the message definition to
an EDI Mapping Model.public Properties getInterchangeProperties()
EdiSpecificationReadergetInterchangeProperties in interface EdiSpecificationReaderpublic EdiDirectory getEdiDirectory(String... includeMessages) throws IOException
EdiSpecificationReaderEdiDirectory instance for specification.
Implementations should cache this instance.getEdiDirectory in interface EdiSpecificationReaderincludeMessages - Messages to include.IOException - Error reading specification.public Edimap getDefinitionModel() throws IOException
IOExceptionCopyright © 2020. All rights reserved.