Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.common.value
Interface Converter

Deprecated.

    @Deprecated
    public interface Converter

Version:
  $Revision: 7200 $
Author:
  Julien Viet

Method Summary
`boolean` | `accept(java.lang.Class clazz)` Deprecated. Return true if the converter accepts the class for conversion.
`java.lang.Object` | `toObject(java.lang.String value)` Deprecated. String to object conversion.
`java.lang.String` | `toString(java.lang.Object value)` Deprecated. Convert the object to the stored value.

Method Detail

### accept

    boolean accept(java.lang.Class clazz)

  Deprecated.
  Return true if the converter accepts the class for conversion.

  Throws:
    `java.lang.IllegalArgumentException` - if the class object is null

### toObject

    java.lang.Object toObject(java.lang.String value)
                              throws NullConversionException,
                                     FormatConversionException

  Deprecated.
  String to object conversion.

  Throws:
    `NullConversionException` - if the value nullity prevent the conversion
    `FormatConversionException` - if the value cannot be converted

### toString

    java.lang.String toString(java.lang.Object value)
                              throws NullConversionException,
                                     FormatConversionException

  Deprecated.
  Convert the object to the stored value.

  Throws:
    `NullConversionException` - if the value nullity prevent the conversion
    `FormatConversionException` - if the value cannot be converted

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008. All Rights Reserved.