org.jdesktop.dataset.provider.sql
Class WebRowSetDataProvider
java.lang.Object
org.jdesktop.dataset.DataProvider
org.jdesktop.dataset.provider.sql.WebRowSetDataProvider
public class WebRowSetDataProvider
- extends DataProvider
Takes webrowset XML and uses it to populate a DataTable. This particular
DataProvider will drop all of the columns from the DataTable and add new
columns back in based on the meta data in the XML.
- Author:
- Richard Bair
Methods inherited from class org.jdesktop.dataset.DataProvider |
addPropertyChangeListener, addPropertyChangeListener, getCommand, getConnection, load, load, loadAndWait, loadAndWait, removePropertyChangeListener, runTask, runTaskAndWait, save, save, saveAndWait, saveAndWait, setCommand, setConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebRowSetDataProvider
public WebRowSetDataProvider()
- Creates a new instance of WebRowSetDataProvider
createSaveTask
protected SaveTask createSaveTask(DataTable[] tables)
- Description copied from class:
DataProvider
- Creates a task that saves data from an array of DataTables to the
data store. All of these tables will be saved serially on the same
background thread.
- Specified by:
createSaveTask
in class DataProvider
createLoadTask
protected LoadTask createLoadTask(DataTable[] tables)
- Description copied from class:
DataProvider
- Creates a Task that loads data from the data store into one or more
DataTables. All of these tables will be loaded serially using the same
background thread.
- Specified by:
createLoadTask
in class DataProvider
getUrl
public java.net.URL getUrl()
setUrl
public void setUrl(java.net.URL url)
getCompletionRunnable
public java.lang.Runnable getCompletionRunnable()
setCompletionRunnable
public void setCompletionRunnable(java.lang.Runnable completionRunnable)
getMetadataCompleteRunnable
public java.lang.Runnable getMetadataCompleteRunnable()
setMetadataCompleteRunnable
public void setMetadataCompleteRunnable(java.lang.Runnable metadataCompleteRunnable)
Copyright © 2005 Sun Microsystems All Rights Reserved.