Package org.glassfish.jersey.moxy.xml
Class MoxyXmlFeature
java.lang.Object
org.glassfish.jersey.moxy.xml.MoxyXmlFeature
- All Implemented Interfaces:
Feature
Feature used to register MOXy XML providers.
- Author:
- Pavel Bucek
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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. -
Method Summary
-
Constructor Details
-
MoxyXmlFeature
public MoxyXmlFeature()Default constructor creates standardJAXBContextwithout any activated features and properties. Current contextClassLoaderwill be used. -
MoxyXmlFeature
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.
-
-
Method Details