Package io.quarkus.jaxb.runtime
Interface JaxbContextCustomizer
-
- All Superinterfaces:
Comparable<JaxbContextCustomizer>
public interface JaxbContextCustomizer extends Comparable<JaxbContextCustomizer>
Meant to be implemented by a CDI bean that provides arbitrary customization for the defaultJAXBContext.All implementations (that are registered as CDI beans) are taken into account when producing the default
JAXBContext.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PRIORITY
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default intcompareTo(JaxbContextCustomizer o)default voidcustomizeContextProperties(Map<String,Object> properties)default voidcustomizeMarshaller(jakarta.xml.bind.Marshaller marshaller)default voidcustomizeUnmarshaller(jakarta.xml.bind.Unmarshaller unmarshaller)default intpriority()Defines the priority that the customizers are applied.
-
-
-
Field Detail
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
customizeMarshaller
default void customizeMarshaller(jakarta.xml.bind.Marshaller marshaller) throws jakarta.xml.bind.PropertyException- Throws:
jakarta.xml.bind.PropertyException
-
customizeUnmarshaller
default void customizeUnmarshaller(jakarta.xml.bind.Unmarshaller unmarshaller) throws jakarta.xml.bind.PropertyException- Throws:
jakarta.xml.bind.PropertyException
-
priority
default int priority()
Defines the priority that the customizers are applied. A lower integer value means that the customizer will be applied after a customizer with a higher priority
-
compareTo
default int compareTo(JaxbContextCustomizer o)
- Specified by:
compareToin interfaceComparable<JaxbContextCustomizer>
-
-