Package org.bedework.util.config
Annotation Type ConfInfo
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ConfInfo
This is used to annotate a method in a configuration class.- Author:
- Mike Douglass
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringcollectionElementNameFor a collection, if this is not defaulted, each element of the collection will be wrapped in this extra tagbooleandontSaveset true for getters when we don't want to save as part of the config.StringelementNameName of element to use in xml dumpStringelementTypeType of element for collectionsStringtypeSet this for an attribute defining the class to be used when read.
-
-
-
Element Detail
-
elementName
String elementName
Name of element to use in xml dump- Default:
- ""
-
-
-
elementType
String elementType
Type of element for collections- Default:
- "java.lang.String"
-
-
-
collectionElementName
String collectionElementName
For a collection, if this is not defaulted, each element of the collection will be wrapped in this extra tag- Default:
- ""
-
-
-
type
String type
Set this for an attribute defining the class to be used when read. It may not be clear from the context which class to use when reading the object.If not set the class of the object being written is assumed.
- Default:
- ""
-
-