|
||||||||||
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 HierarchicalConfiguration
object to
and from an arbitrary type.
Method Summary | |
---|---|
org.apache.commons.configuration.HierarchicalConfiguration |
fromObject(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 config,
java.lang.Object object)
Converts a FieldValueItemHolder of FieldValueItem to an Object |
Method Detail |
---|
java.lang.Class getClassToConvert()
org.apache.commons.configuration.HierarchicalConfiguration fromObject(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 config, java.lang.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 |