public class EDIReader extends EDIParser implements SmooksXMLReader
EDIParser into the Smooks framework.
This adds EDI processing support to Smooks.
<edi:reader mappingModel="edi-to-xml-order-mapping.xml" validate="false"/>
| Modifier and Type | Field and Description |
|---|---|
static String |
MODEL_CONFIG_KEY
Model resource configuration key.
|
FEATURE_IGNORE_EMPTY_NODES, FEATURE_IGNORE_NEWLINES, FEATURE_VALIDATE| Constructor and Description |
|---|
EDIReader() |
| Modifier and Type | Method and Description |
|---|---|
protected static Hashtable |
getMappingTable(ApplicationContext context)
Get the mapping model table from the context.
|
void |
parse(InputSource ediSource)
Parse the EDI message.
|
void |
setExecutionContext(ExecutionContext executionContext) |
endElement, endElement, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getFeatures, getIndentDepth, getProperty, mapFields, parse, parse, parseMappingModel, parseMappingModel, parseMappingModel, parseMappingModel, parseMappingModel, setBufferedSegmentReader, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setIndentDepth, setMappingModel, setNamespaceDeclarationStack, setProperty, startElement, startElement, startElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setPropertypublic static final String MODEL_CONFIG_KEY
public void setExecutionContext(ExecutionContext executionContext)
setExecutionContext in interface SmooksXMLReaderpublic void parse(InputSource ediSource) throws IOException, SAXException
parse in interface XMLReaderparse in class EDIParserIOExceptionSAXExceptionprotected static Hashtable getMappingTable(ApplicationContext context)
context - The context from which to extract the mapping table.Copyright © 2015. All rights reserved.