leon.peer.xml
Class LyXmlDataProvider
java.lang.Object
leon.peer.LyDataProvider
leon.peer.LyPeerDataProvider
leon.peer.util.LyTableDataProvider
leon.peer.xml.LyXmlDataProvider
- Direct Known Subclasses:
- LyImportXmlDataProvider, LyXmlFileDataProvider
public class LyXmlDataProvider
- extends LyTableDataProvider
This class is used by DataSources to transmit their requests to an instance of RequestEncoder.
- See Also:
LyXmlRequestEncoder
,
LyXmlConnection
Field Summary |
static java.lang.String |
__VERSION
|
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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyXmlDataProvider
public LyXmlDataProvider(LyApplication application,
LyLocation location)
- Default constructor Initialization is done with the init method.
setLocation
public void setLocation(LyLocation location)
- Sets location on provider.
- Overrides:
setLocation
in class LyDataProvider
- Parameters:
location
- New location for the provider.
getRequestEncoder
public LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
- Create a specific request encoder for the specified dataSource.
This method is used internally, but subclasses should override this method and create an
instance of their own (specific) request encoder.
Default returns a LyRequestEncoder instance.
- Specified by:
getRequestEncoder
in class LyDataProvider
- Parameters:
dataSource
- reference to the dataSource associated to this request encoder.
- Returns:
- the specific LyRequestEncoder for the specified dataSource.
Website: W4 S.A., contact us: support@w4global.com