|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The adpter interface is used to convert the data source format to the OpenSync data format
| Method Summary | |
java.lang.String |
adaptInputView(java.lang.String xml,
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.util.List |
getPKs(org.dom4j.Document themes,
java.lang.String theme)
|
java.lang.String |
getTablesDescriptor()
Get the tables descriptor |
java.lang.String |
getThemesDescriptor()
Get the themes descriptor |
void |
init()
|
org.dom4j.Document |
readThemeDescriptor()
|
void |
release()
|
void |
releaseWithException()
|
void |
setTablesDescriptor(java.lang.String tablesDescriptor)
Set the tables descriptor |
void |
setThemesDescriptor(java.lang.String themesDescriptor)
Set the themes descriptor |
void |
startReadInputFile(boolean status)
|
void |
validate()
|
| Method Detail |
public void setTablesDescriptor(java.lang.String tablesDescriptor)
tablesDescriptor - the url of the tables descriptorpublic java.lang.String getTablesDescriptor()
public void setThemesDescriptor(java.lang.String themesDescriptor)
themesDescriptor - the url of the themes descriptorpublic java.lang.String getThemesDescriptor()
public org.dom4j.Document readThemeDescriptor()
throws java.io.FileNotFoundException,
org.dom4j.DocumentException,
org.xml.sax.SAXException,
java.net.MalformedURLException
java.io.FileNotFoundException
org.dom4j.DocumentException
org.xml.sax.SAXException
java.net.MalformedURLException
public java.util.List getPKs(org.dom4j.Document themes,
java.lang.String theme)
throws org.dom4j.DocumentException,
java.io.FileNotFoundException,
org.xml.sax.SAXException,
java.net.MalformedURLException
org.dom4j.DocumentException
java.io.FileNotFoundException
org.xml.sax.SAXException
java.net.MalformedURLException
public java.lang.String adaptInputView(java.lang.String xml,
View view,
Statistic stat,
Window win)
throws java.lang.Exception
xml - the view in source formatview - the view
java.lang.Exception
public java.lang.String adaptOutputView(java.lang.String xml,
View view,
Statistic stat)
throws java.lang.Exception
xml - the view in OpenSync formatview - the view
java.lang.Exceptionpublic void init()
public void release()
throws java.sql.SQLException
OpenSyncException
java.sql.SQLException
public void releaseWithException()
throws java.sql.SQLException
OpenSyncException
java.sql.SQLException
public void validate()
throws OpenSyncException
OpenSyncExceptionpublic void startReadInputFile(boolean status)
status -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||