|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldValueObjectConverter
Interface to define an object that converts a List
of FieldValueItem
objects to
and from an arbitrary type.
Method Summary | |
---|---|
HierarchicalConfiguration |
fromObject(Object o)
Converts the object to a FieldValueItemHolder of FieldValueItem s |
Class |
getClassToConvert()
Returns the class that this converter can convert |
Object |
toObject(HierarchicalConfiguration config,
Object object)
Converts a FieldValueItemHolder of FieldValueItem to an Object |
Method Detail |
---|
Class getClassToConvert()
HierarchicalConfiguration fromObject(Object o)
FieldValueItemHolder
of FieldValueItem
s
o
- must not be null
FieldValueItemHolder
of FieldValueItem
. Never null
IllegalArgumentException
- if cannot convert typeObject toObject(HierarchicalConfiguration config, Object object)
FieldValueItemHolder
of FieldValueItem
to an Object
config
- object
- - object to convert. Must not be null @return the object, with any values in the passed in the list set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |