|
||||||||||
| 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.extended.PropertyEditorCapableConverter
public class PropertyEditorCapableConverter
A SingleValueConverter that can utilize a PropertyEditor implementation used for a
specific type. The converter ensures that the editors can be used concurrently.
| Constructor Summary | |
|---|---|
PropertyEditorCapableConverter(Class propertyEditorType,
Class type)
|
|
| Method Summary | |
|---|---|
boolean |
canConvert(Class type)
Determines whether the converter can marshall a particular type. |
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 PropertyEditorCapableConverter(Class propertyEditorType,
Class type)
| Method Detail |
|---|
public boolean canConvert(Class type)
ConverterMatcher
canConvert in interface ConverterMatchertype - the Class representing the object type to be convertedpublic Object fromString(String str)
SingleValueConverter
fromString in interface SingleValueConverterstr - the String with the single value of the Object
public String toString(Object obj)
SingleValueConverter
toString in interface SingleValueConverterobj - the Object to be converted
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||