public interface ConfigObjectConverter
List
of FieldValueItem
objects to
and from an arbitrary type.Modifier and Type | Method and Description |
---|---|
org.apache.commons.configuration.HierarchicalConfiguration |
fromObjectToConfig(Object o)
Converts the object to a
FieldValueItemHolder of FieldValueItem s |
Class |
getClassToConvert()
Returns the class that this converter can convert
|
Object |
toObject(org.apache.commons.configuration.HierarchicalConfiguration fieldValueItems,
Object object)
Converts a
FieldValueItemHolder of FieldValueItem to an Object |
Class getClassToConvert()
org.apache.commons.configuration.HierarchicalConfiguration fromObjectToConfig(Object o)
FieldValueItemHolder
of FieldValueItem
so
- must not be nullFieldValueItemHolder
of FieldValueItem
. Never nullIllegalArgumentException
- if cannot convert typeObject toObject(org.apache.commons.configuration.HierarchicalConfiguration fieldValueItems, Object object)
FieldValueItemHolder
of FieldValueItem
to an ObjectfieldValueItems
- - must not be nullobject
- - object to convert. Must not be nullCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.