Package de.uni_trier.wi2.procake.data.io
Class IOImpl
java.lang.Object
de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
de.uni_trier.wi2.procake.data.io.IOImpl
- All Implemented Interfaces:
IO
- Direct Known Subclasses:
AbstractXMLHandler
,AbstractXMLReader
,AbstractXMLWriter
,PrologGraphReader
Standard implementation for all IO-operators
- Author:
- Alexander Stromer
-
Field Summary
Fields inherited from interface de.uni_trier.wi2.procake.utils.io.IO
DEFAULT_ENCODING, LOG_FILE_NOT_FOUND, LOG_IO_EXCEPTION, LOG_READER_NOT_FOUND, LOG_SAX_EXCEPTION, LOG_UNKNOWN_PARAMETER, LOG_WRONG_PARAMATER_TYPE, RESOURCE_XML
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the IO-family of this operatorvoid
postInit()
Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])
and bind to the factory.void
preInit
(AbstractParameter[] parameter) Called directly after creating the implementation.void
Sets the IO-family of this operatorMethods inherited from class de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
getParameter, initParametersBasedOn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uni_trier.wi2.procake.utils.io.IO
copy, getName, isHandlerFor
-
Constructor Details
-
IOImpl
public IOImpl()
-
-
Method Details
-
preInit
Called directly after creating the implementation.- Specified by:
preInit
in classFactoryObjectImplementation
- Parameters:
parameter
- The parameters to initialize the implementation.
-
postInit
public void postInit()Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])
and bind to the factory.- Specified by:
postInit
in classFactoryObjectImplementation
-
getParameters
- Specified by:
getParameters
in classFactoryObjectImplementation
- Returns:
- Returns a list of available parameters in the implementation. This method can be called
without initialization and is never
null
.
-
getFamily
Returns the IO-family of this operator -
setFamily
Sets the IO-family of this operator
-