AnnotationIntrospector to handle XML-specific configuration.
| Modifier and Type | Class and Description |
|---|---|
| public static class | XmlAnnotationIntrospector.Pair
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<?>
Configuration settings in effect config, Annotated Annotated entity to introspect ann)Implements com. |
| public static XmlAnnotationIntrospector. | |
| public Boolean | isOutputAsAttribute(MapperConfig<?>
Configuration settings in effect config, Annotated Annotated entity to introspect ann)Implements com. |
| public Boolean | isOutputAsCData(MapperConfig<?>
Configuration settings in effect config, Annotated Annotated entity to introspect ann)Implements com. |
| public Boolean | isOutputAsText(MapperConfig<?>
Configuration settings in effect config, Annotated Annotated entity to introspect ann)Implements com. |
| _xmlPrimary | back to summary |
|---|---|
| protected final AnnotationIntrospector. | |
| _xmlSecondary | back to summary |
|---|---|
| protected final AnnotationIntrospector. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| Pair | back to summary |
|---|---|
| public Pair(AnnotationIntrospector p, AnnotationIntrospector s) | |
| findNamespace | back to summary |
|---|---|
| public String findNamespace(MapperConfig<?> config, Annotated ann) Implements com. Doc from com. 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 com. Doc from com. 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 com. Doc from com. 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 com. Doc from com. 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.
| |