|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.peer.LyDataProvider
leon.peer.LyPeerDataProvider
leon.peer.util.LyTableDataProvider
leon.peer.xml.LyXmlDataProvider
leon.peer.xml.LyImportXmlDataProvider
public class LyImportXmlDataProvider
This class is used by DataSources to transmit their requests to an instance of RequestEncoder.
LyXmlExportRequestEncoder
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyImportXmlDataProvider(LyApplication application,
LyLocation location)
Constructor. |
Method Summary | |
---|---|
LyConnection |
createConnection()
Create a connection for the xml import. |
LyRequestEncoder |
getRequestEncoder(LyDataSource dataSource)
Create a specific request encoder for the specified dataSource. |
void |
setBuffer(java.lang.String buffer)
Set the buffer to import. |
void |
setFilePath(java.lang.String filePath)
Set the path of the file to import. |
Methods inherited from class leon.peer.xml.LyXmlDataProvider |
---|
setLocation |
Methods inherited from class leon.peer.LyPeerDataProvider |
---|
getPeerClass, invalidate, load, resetPeerClasses, validate, validate, validateNotifier |
Methods inherited from class leon.peer.LyDataProvider |
---|
canBeFullyLoaded, close, dumpConnections, getApplication, getConnection, getEnvironment, getEventNotifier, getId, getLocation, getNbAvailableConnection, getNbConnection, hasLostConnection, isConnectionReady, isModified, isModified, isNotifierReady, isXASupported, releaseConnection, save, setEventNotifier, setModified, setNbConnection, sleep, validate, wakeUp |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyImportXmlDataProvider(LyApplication application, LyLocation location)
Method Detail |
---|
public LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
This method is used internally, but subclasses should override this method and create an instance of their own (specific) request encoder.
getRequestEncoder
in class LyXmlDataProvider
dataSource
- reference to the dataSource associated to this request encoder.
public void setFilePath(java.lang.String filePath)
filePath
- The path of the file to import.public void setBuffer(java.lang.String buffer)
buffer
- The buffer to import.public LyConnection createConnection()
LyDataProvider.getConnection()
,
LyDataProvider.releaseConnection(leon.peer.LyConnection)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |