Package org.glassfish.jersey.moxy.xml
Class MoxyXmlFeature
- java.lang.Object
-
- org.glassfish.jersey.moxy.xml.MoxyXmlFeature
-
- All Implemented Interfaces:
jakarta.ws.rs.core.Feature
public class MoxyXmlFeature extends Object implements jakarta.ws.rs.core.Feature
Feature used to register MOXy XML providers.- Author:
- Pavel Bucek
-
-
Constructor Summary
Constructors Constructor Description MoxyXmlFeature()Default constructor creates standardJAXBContextwithout any activated features and properties.MoxyXmlFeature(Class<?>... classes)Constructor which allows MOXyJAXBContextcustomization.MoxyXmlFeature(Map<String,Object> properties, ClassLoader classLoader, boolean oxmMappingLookup, Class... classes)Constructor which allows MOXyJAXBContextcustomization.
-
-
-
Constructor Detail
-
MoxyXmlFeature
public MoxyXmlFeature()
Default constructor creates standardJAXBContextwithout any activated features and properties. Current contextClassLoaderwill be used.
-
MoxyXmlFeature
public MoxyXmlFeature(Class<?>... classes)
Constructor which allows MOXyJAXBContextcustomization.- Parameters:
classes- additional classes used for creatingJAXBContext.
-
MoxyXmlFeature
public MoxyXmlFeature(Map<String,Object> properties, ClassLoader classLoader, boolean oxmMappingLookup, Class... classes)
Constructor which allows MOXyJAXBContextcustomization.- Parameters:
properties- properties to be passed toJAXBContextFactory.createContext(Class[], java.util.Map, ClassLoader). May benull.classLoader- will be used to load classes. Ifnull, current contextClassLoaderwill be used.oxmMappingLookup- iftrue, lookup for file with custom mappings will be performed.classes- additional classes used for creatingJAXBContext.
-
-