|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigObjectConverter
Interface to define an object that converts a List
of FieldValueItem
objects to
and from an arbitrary type.
Method Summary | |
---|---|
org.apache.commons.configuration.HierarchicalConfiguration |
fromObjectToConfig(java.lang.Object o)
Converts the object to a FieldValueItemHolder of FieldValueItem s |
java.lang.Class |
getClassToConvert()
Returns the class that this converter can convert |
java.lang.Object |
toObject(org.apache.commons.configuration.HierarchicalConfiguration fieldValueItems,
java.lang.Object object)
Converts a FieldValueItemHolder of FieldValueItem to an Object |
Method Detail |
---|
java.lang.Class getClassToConvert()
org.apache.commons.configuration.HierarchicalConfiguration fromObjectToConfig(java.lang.Object o)
FieldValueItemHolder
of FieldValueItem
s
o
- must not be null
FieldValueItemHolder
of FieldValueItem
. Never null
java.lang.IllegalArgumentException
- if cannot convert typejava.lang.Object toObject(org.apache.commons.configuration.HierarchicalConfiguration fieldValueItems, java.lang.Object object)
FieldValueItemHolder
of FieldValueItem
to an Object
fieldValueItems
- - must not be nullobject
- - object to convert. Must not be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |