org.opensync.engine.server.adapter
Class EDI_X12_Adapter
java.lang.Object
org.opensync.engine.server.DefaultAdapter
org.opensync.engine.server.adapter.FileAdapter
org.opensync.engine.server.adapter.EDI_X12_Adapter
- All Implemented Interfaces:
- Adapter, java.io.Serializable
- public class EDI_X12_Adapter
- extends FileAdapter
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
adaptInputView(java.lang.String txt,
View view,
Statistic stat,
Window win)
Adapt the the data source format to the OpenSync
data format |
java.lang.String |
adaptOutputView(java.lang.String xml,
View view,
Statistic stat)
Adapt the the data OpenSync format to the
data source format |
java.lang.String |
toString()
Use for debug only |
| Methods inherited from class org.opensync.engine.server.DefaultAdapter |
getConnector, getPKs, getTablesDescriptor, getThemesDescriptor, init, readThemeDescriptor, release, releaseWithException, setConnector, setTablesDescriptor, setThemesDescriptor, startReadInputFile, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
openSync
static OpenSync openSync
EDI_X12_Adapter
public EDI_X12_Adapter()
adaptInputView
public java.lang.String adaptInputView(java.lang.String txt,
View view,
Statistic stat,
Window win)
throws java.lang.Exception
- Description copied from class:
DefaultAdapter
- Adapt the the data source format to the OpenSync
data format
- Specified by:
adaptInputView in interface Adapter- Specified by:
adaptInputView in class DefaultAdapter
- Parameters:
txt - ?xml?view -
- Throws:
java.lang.Exception
adaptOutputView
public java.lang.String adaptOutputView(java.lang.String xml,
View view,
Statistic stat)
throws java.io.IOException,
org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Description copied from class:
DefaultAdapter
- Adapt the the data OpenSync format to the
data source format
- Specified by:
adaptOutputView in interface Adapter- Specified by:
adaptOutputView in class DefaultAdapter
- Parameters:
xml - view -
- Throws:
java.io.IOException
org.dom4j.DocumentException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
toString
public java.lang.String toString()
- Description copied from class:
DefaultAdapter
- Use for debug only
- Overrides:
toString in class DefaultAdapter
Copyright © 2004 sourceforge. All Rights Reserved.