|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
public abstract class AbstractSingleValueConverter
Base abstract implementation of SingleValueConverter.
Subclasses should implement methods canConvert(Class) and fromString(String) for the conversion.
SingleValueConverter| Constructor Summary | |
|---|---|
AbstractSingleValueConverter()
|
|
| Method Summary | |
|---|---|
abstract boolean |
canConvert(Class type)
Determines whether the converter can marshall a particular type. |
abstract Object |
fromString(String str)
Unmarshals an Object from its single value representation. |
String |
toString(Object obj)
Marshals an Object into a single value representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSingleValueConverter()
| Method Detail |
|---|
public abstract boolean canConvert(Class type)
ConverterMatcher
canConvert in interface ConverterMatchertype - the Class representing the object type to be convertedpublic String toString(Object obj)
SingleValueConverter
toString in interface SingleValueConverterobj - the Object to be converted
nullpublic abstract Object fromString(String str)
SingleValueConverter
fromString in interface SingleValueConverterstr - the String with the single value of the Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||