public static enum JaxbAnnotationModule.Priority extends Enum<JaxbAnnotationModule.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 JaxbAnnotationModule.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JaxbAnnotationModule.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JaxbAnnotationModule.Priority PRIMARY
public static final JaxbAnnotationModule.Priority SECONDARY
public static JaxbAnnotationModule.Priority[] values()
for (JaxbAnnotationModule.Priority c : JaxbAnnotationModule.Priority.values()) System.out.println(c);
public static JaxbAnnotationModule.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 © 2017 JBoss by Red Hat. All rights reserved.