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
IOException
public UnEdifactSpecificationReader(ZipInputStream specificationInStream, boolean useImport, boolean useShortName) throws IOException
IOException
public Set<String> getMessageNames()
EdiSpecificationReader
getMessageNames
in interface EdiSpecificationReader
public Edimap getMappingModel(String messageName) throws IOException
EdiSpecificationReader
getMappingModel
in interface EdiSpecificationReader
messageName
- The name of the message.IOException
- Error reading/converting the message definition to
an EDI Mapping Model.public Properties getInterchangeProperties()
EdiSpecificationReader
getInterchangeProperties
in interface EdiSpecificationReader
public EdiDirectory getEdiDirectory(String... includeMessages) throws IOException
EdiSpecificationReader
EdiDirectory
instance for specification.
Implementations should cache this instance.getEdiDirectory
in interface EdiSpecificationReader
includeMessages
- Messages to include.IOException
- Error reading specification.public Edimap getDefinitionModel() throws IOException
IOException
Copyright © 2020. All rights reserved.