|
||||||||||
| 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 String |
MODEL_CONFIG_KEY
Model resource configuration key. |
| Fields inherited from class org.milyn.edisax.EDIParser |
|---|
FEATURE_IGNORE_EMPTY_NODES, FEATURE_IGNORE_NEWLINES, FEATURE_VALIDATE |
| Constructor Summary | |
|---|---|
EDIReader()
|
|
| Method Summary | |
|---|---|
protected static Hashtable |
getMappingTable(org.milyn.container.ApplicationContext context)
Get the mapping model table from the context. |
void |
parse(InputSource ediSource)
Parse the EDI message. |
void |
setExecutionContext(org.milyn.container.ExecutionContext executionContext)
|
| Methods inherited from class org.milyn.edisax.EDIParser |
|---|
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, 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 String MODEL_CONFIG_KEY
| Constructor Detail |
|---|
public EDIReader()
| Method Detail |
|---|
public void setExecutionContext(org.milyn.container.ExecutionContext executionContext)
setExecutionContext in interface org.milyn.xml.SmooksXMLReader
public void parse(InputSource ediSource)
throws IOException,
SAXException
parse in interface XMLReaderparse in class org.milyn.edisax.EDIParserIOException
SAXExceptionprotected static Hashtable getMappingTable(org.milyn.container.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 | |||||||||