|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceIf
Interface that must implemented by all Infofuze Source classes.
Method Summary | |
---|---|
void |
afterStreamClosed()
Method that can be implemented to perform special operations after the source is closed. |
void |
close()
Closes this source. |
void |
destroy()
|
java.lang.String |
getName()
Returns the name of this source. |
java.lang.String |
getTransformId()
Returns the transformation identifier of the transformation this source is currently part of. |
Definitions.TransformMode |
getTransformMode()
Returns the transformation mode of the transformation this source is currently part of. |
boolean |
isAutoReturning()
Tests whether this source must be returned to the pool automatically when it is closed. |
boolean |
isOpen()
Tests whether this source is open or not. |
void |
open()
Opens this source. |
void |
reset()
Resets this source (i.e. resets the transformation mode and identifier). |
void |
setAutoReturning(boolean value)
Specifies if this source must be returned to the pool automatically when it is closed. |
void |
setParameters(java.util.List<Parameter> params)
Sets the parameters. |
void |
setTransformId(java.lang.String id)
Sets the transformation identifier. |
void |
setTransformMode(Definitions.TransformMode transformMode)
Sets the transformation mode. |
Method Detail |
---|
void afterStreamClosed()
void close()
void destroy() throws java.lang.Throwable
java.lang.Throwable
java.lang.String getName()
java.lang.String getTransformId()
Definitions.TransformMode getTransformMode()
boolean isAutoReturning()
boolean isOpen()
void open()
void reset()
void setAutoReturning(boolean value)
void setTransformId(java.lang.String id)
id
- A String specifying the transformation identifiervoid setTransformMode(Definitions.TransformMode transformMode)
transformMode
- The transformation modevoid setParameters(java.util.List<Parameter> params)
params
- A list containing the parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |