Package org.n52.iceland.convert
Interface Converter<T,S>
-
- Type Parameters:
T- Target objectS- Source object
- All Superinterfaces:
Component<ConverterKey>,Keyed<ConverterKey>
public interface Converter<T,S> extends Component<ConverterKey>
Interface to convert an object into another object, e.g. SensorML 1.0.1 to SensorML 2.0- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tconvert(S objectToConvert)Convert object to target
-
-
-
Method Detail
-
convert
T convert(S objectToConvert) throws ConverterException
Convert object to target- Parameters:
objectToConvert- Object to convert- Returns:
- The converted object
- Throws:
ConverterException- If an error occurs during the conversion
-
-