|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.edisax.EDIParser
org.milyn.smooks.edi.EDIReader
public class EDIReader
Smooks EDI Reader.
Hooks the MilynEDIParser into the Smooks framework.
This adds EDI processing support to Smooks.
<edi:reader mappingModel="edi-to-xml-order-mapping.xml" validate="false"/>
| Field Summary | |
|---|---|
static java.lang.String |
MODEL_CONFIG_KEY
Model resource configuration key. |
| Fields inherited from class org.milyn.edisax.EDIParser |
|---|
FEATURE_IGNORE_NEWLINES, FEATURE_VALIDATE |
| Constructor Summary | |
|---|---|
EDIReader()
|
|
| Method Summary | |
|---|---|
protected static java.util.Hashtable |
getMappingTable(ApplicationContext context)
Get the mapping model table from the context. |
void |
parse(org.xml.sax.InputSource ediSource)
Parse the EDI message. |
void |
setExecutionContext(ExecutionContext executionContext)
|
| Methods inherited from class org.milyn.edisax.EDIParser |
|---|
endElement, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getIndentDepth, getProperty, mapFields, parse, parse, parseMappingModel, parseMappingModel, parseMappingModel, parseMappingModel, parseMappingModel, setBufferedSegmentReader, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setIndentDepth, setMappingModel, setProperty, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.XMLReader |
|---|
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
| Field Detail |
|---|
public static final java.lang.String MODEL_CONFIG_KEY
| Constructor Detail |
|---|
public EDIReader()
| Method Detail |
|---|
public void setExecutionContext(ExecutionContext executionContext)
setExecutionContext in interface SmooksXMLReader
public void parse(org.xml.sax.InputSource ediSource)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderparse in class EDIParserjava.io.IOException
org.xml.sax.SAXExceptionprotected static java.util.Hashtable getMappingTable(ApplicationContext context)
context - The context from which to extract the mapping table.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||