AnnotationIntrospector to handle XML-specific configuration.
| Modifier and Type | Class and Description |
|---|---|
| public static class | XmlAnnotationIntrospector.
Extension of |
AnnotationIntrospector.Pair that can
also dispatch 'XmlAnnotationIntrospector' methods.
| Modifier and Type | Field and Description |
|---|---|
| protected final AnnotationIntrospector. | |
| protected final AnnotationIntrospector. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | findNamespace(MapperConfig<?> config, Annotated ann)
Implements tools. Method that can be called to figure out generic namespace property for an annotated object. |
| public static XmlAnnotationIntrospector. | |
| public Boolean | isOutputAsAttribute(MapperConfig<?> config, Annotated ann)
Implements tools. Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it be output as an XML attribute or not (if not, then as element) |
| public Boolean | isOutputAsCData(MapperConfig<?> config, Annotated ann)
Implements tools. Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be wrapped in a CDATA tag. |
| public Boolean | isOutputAsText(MapperConfig<?> config, Annotated ann)
Implements tools. Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be serialized as text, without element wrapper. |
| _xmlPrimary | back to summary |
|---|---|
| protected final AnnotationIntrospector. | |
| _xmlSecondary | back to summary |
|---|---|
| protected final AnnotationIntrospector. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides tools. | |
| Pair | back to summary |
|---|---|
| public Pair(AnnotationIntrospector p, AnnotationIntrospector s) | |
| findNamespace | back to summary |
|---|---|
| public String findNamespace(MapperConfig<?> config, Annotated ann) Implements tools. Doc from tools. Method that can be called to figure out generic namespace property for an annotated object.
| |
| instance | back to summary |
|---|---|
| public static XmlAnnotationIntrospector. | |
| isOutputAsAttribute | back to summary |
|---|---|
| public Boolean isOutputAsAttribute(MapperConfig<?> config, Annotated ann) Implements tools. Doc from tools. Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it be output as an XML attribute or not (if not, then as element)
| |
| isOutputAsCData | back to summary |
|---|---|
| public Boolean isOutputAsCData(MapperConfig<?> config, Annotated ann) Implements tools. Doc from tools. Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be wrapped in a CDATA tag.
| |
| isOutputAsText | back to summary |
|---|---|
| public Boolean isOutputAsText(MapperConfig<?> config, Annotated ann) Implements tools. Doc from tools. Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be serialized as text, without element wrapper.
| |