|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface XmlTextContent
An annotation stating that the annotated java field should be mapped to the content of the xml node with the data type described by the class the annotated field is part of.
Optional Element Summary | |
---|---|
String[] |
constraints
The constraints to validate. |
Class<? extends SimpleTypeConverter> |
converterType
Specifies the converter type to be used for the xml attribute. |
String[] |
format
The format to be used to construct a SimpleTypeConverter for the content. |
SimpleListItem |
listItem
In case of a simple type list this annotation parameter provides details about the list items. |
boolean |
required
True, if a value is required; false otherwise. |
TextMode |
textMode
The text mode. |
Class<? extends Validator> |
validatorType
Specifies the validator type to be used. |
public abstract String[] format
SimpleTypeConverter
for the content. The
SimpleTypeConverter
class will be determined using the type of the java field with this
annotation.
public abstract TextMode textMode
public abstract Class<? extends SimpleTypeConverter> converterType
public abstract SimpleListItem listItem
public abstract boolean required
public abstract Class<? extends Validator> validatorType
public abstract String[] constraints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |