public class EDIReader
extends org.dhatim.edisax.EDIParser
implements org.dhatim.xml.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.
|
| Constructor and Description |
|---|
EDIReader() |
| Modifier and Type | Method and Description |
|---|---|
protected static Hashtable |
getMappingTable(org.dhatim.container.ApplicationContext context)
Get the mapping model table from the context.
|
void |
parse(InputSource ediSource)
Parse the EDI message.
|
void |
setExecutionContext(org.dhatim.container.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(org.dhatim.container.ExecutionContext executionContext)
setExecutionContext in interface org.dhatim.xml.SmooksXMLReaderpublic void parse(InputSource ediSource) throws IOException, SAXException
parse in interface XMLReaderparse in class org.dhatim.edisax.EDIParserIOExceptionSAXExceptionprotected static Hashtable getMappingTable(org.dhatim.container.ApplicationContext context)
context - The context from which to extract the mapping table.Copyright © 2017. All rights reserved.