public static enum JakartaXmlBindAnnotationModule.Priority extends Enum<JakartaXmlBindAnnotationModule.Priority>
Default choice is PRIMARY
Note that if you want to use JAXB annotations as the only annotations,
you must directly set annotation introspector by calling
ObjectMapper.setAnnotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector)
.
Modifier and Type | Method and Description |
---|---|
static JakartaXmlBindAnnotationModule.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JakartaXmlBindAnnotationModule.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JakartaXmlBindAnnotationModule.Priority PRIMARY
public static final JakartaXmlBindAnnotationModule.Priority SECONDARY
public static JakartaXmlBindAnnotationModule.Priority[] values()
for (JakartaXmlBindAnnotationModule.Priority c : JakartaXmlBindAnnotationModule.Priority.values()) System.out.println(c);
public static JakartaXmlBindAnnotationModule.Priority valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 FasterXML. All rights reserved.