GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Protected Member Functions

de.zib.gndms.common.model.gorfx.types.io.OrderConverter< W extends OrderWriter, M extends AbstractOrder > Class Reference

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...

Inheritance diagram for de.zib.gndms.common.model.gorfx.types.io.OrderConverter< W extends OrderWriter, M extends AbstractOrder >:
de.zib.gndms.common.model.gorfx.types.io.GORFXConverterBase< W, M >

List of all members.

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)

Detailed Description

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.

See also:
OrderWriter
de.zib.gndms.common.model.gorfx.types.AbstractOrder
Author:
try ma ik jo rr a zib
Version:
$Id$

User: mjorra, Date: 25.09.2008, Time: 17:52:45


Member Function Documentation

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 >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations