public class XMLDowngrade extends BridgeDowngrade
BridgeDowngrade base class specialized for XML containing payload ResultSetThread.State, Thread.UncaughtExceptionHandlerlocator, recordClassMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
XMLDowngrade()
Create new instance
|
XMLDowngrade(URI locator)
Create new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
doDowngrade()
Iterate over the input, produce the output and store it in the output writer
|
org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSLocator |
getLocator()
Retrieves the locator of the create ResultSet
|
Logger |
getLogger()
The logger defined by the extending class to use the same logger
|
void |
initialize()
Perform any initialization needed before the downgrade begins
|
void |
setResourceType(org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSResourceType resourceType)
Sets the resource type of the Result Set locator to be produced
|
downgrade, getRecord, run, setLocator, setRecordClassactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic XMLDowngrade()
public XMLDowngrade(URI locator)
locator - the input locator to downgradepublic void setResourceType(org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSResourceType resourceType)
resourceType - tjhe resource typepublic void initialize()
throws GCubeBridgeException
initialize in class BridgeDowngradeGCubeBridgeException - the initialization could not be completedBridgeDowngrade.initialize()public org.gcube.common.searchservice.searchlibrary.rsclient.elements.RSLocator getLocator()
throws GCubeBridgeException
getLocator in class BridgeDowngradeGCubeBridgeException - the locator could not be retrievedBridgeDowngrade.getLocator()public void doDowngrade()
throws GCubeBridgeException
doDowngrade in class BridgeDowngradeGCubeBridgeException - the downgrade could not be completedBridgeDowngrade.doDowngrade()public Logger getLogger()
getLogger in class BridgeDowngradeBridgeDowngrade.getLogger()Copyright © 2015. All Rights Reserved.