GNDMS 0.6.0
RESTful verison of GNDMS
|
An OrderConverter is used to convert de.zib.gndms.common.model.gorfx.types.AbstractOrders to a desired type, which can be their corresponding axis type, a convertion to a Properties instance, or it will be written to Stdout. More...
Public Member Functions | |
void | convert () |
Performs the writing by calling the getters of the model and the corresponding write* methods of the writer. | |
Protected Member Functions | |
OrderConverter (W writer, M model) |
An OrderConverter is used to convert de.zib.gndms.common.model.gorfx.types.AbstractOrders to a desired type, which can be their corresponding axis type, a convertion to a Properties instance, or it will be written to Stdout.
It provices an implementation of convert() which must be invoked to do the actuall convertion.
An OrderWriter for the corresponding model must be provided.
The template parameter W specifies the writer and M the model.
User: mjorra, Date: 25.09.2008, Time: 17:52:45
void de.zib.gndms.common.model.gorfx.types.io.OrderConverter< W extends OrderWriter, M extends AbstractOrder >.convert | ( | ) | [virtual] |
Performs the writing by calling the getters of the model and the corresponding write* methods of the writer.
Note: implementations of this method are required to ensure that model and writer are provided and to call the open and done method of the writer.
Implements de.zib.gndms.common.model.gorfx.types.io.GORFXConverterBase< W, M >.