Package org.apache.juneau.marshall.ini
Annotation Interface IniConfig
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Inherited
@ContextApply({SerializerApply.class,ParserApply.class})
public @interface IniConfig
Annotation for specifying config properties defined in
IniSerializer and IniParser.
Used primarily for specifying bean configuration properties on REST classes and methods.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionKey-value separator character.intOptional rank for this config.Whether to add spaces around the separator.Whether to emit property descriptions as# comments.
-
Element Details
-
kvSeparator
Key-value separator character."=" (default)":"
- Returns:
- The annotation value.
- Default:
- ""
-
spacedSeparator
Whether to add spaces around the separator."true" (default) —key = value "false" —key=value
- Returns:
- The annotation value.
- Default:
- ""
-
useComments
Whether to emit property descriptions as# comments."true" "false" (default)
- Returns:
- The annotation value.
- Default:
- ""
-
rank
int rankOptional rank for this config.- Returns:
- The annotation value.
- Default:
- 0
-