org.ow2.orchestra.pvm.internal.type
Interface Converter

All Superinterfaces:
Serializable
All Known Implementing Classes:
BooleanToStringConverter, ByteToLongConverter, CharacterToStringConverter, DateToLongConverter, DateToStringConverter, DoubleToStringConverter, FloatToDoubleConverter, FloatToStringConverter, IntegerToLongConverter, SerializableToBytesConverter, ShortToLongConverter

public interface Converter
extends Serializable

Author:
Tom Baeyens

Method Summary
 Object convert(Object o)
          converts a given object to its persistable format.
 Object revert(Object o)
          reverts a persisted object to its original form.
 boolean supports(Object value)
          is true if this converter supports the given type, false otherwise.
 

Method Detail

supports

boolean supports(Object value)
is true if this converter supports the given type, false otherwise.


convert

Object convert(Object o)
converts a given object to its persistable format.


revert

Object revert(Object o)
reverts a persisted object to its original form.



Copyright © 2011 OW2 Consortium. All Rights Reserved.