Constructor and Description |
---|
MoxyXmlFeature()
Default constructor creates standard
JAXBContext without any activated features
and properties. |
MoxyXmlFeature(Class<?>... classes)
Constructor which allows MOXy
JAXBContext customization. |
MoxyXmlFeature(Map<String,Object> properties,
ClassLoader classLoader,
boolean oxmMappingLookup,
Class... classes)
Constructor which allows MOXy
JAXBContext customization. |
public MoxyXmlFeature()
JAXBContext
without any activated features
and properties. Current context ClassLoader
will be used.public MoxyXmlFeature(Class<?>... classes)
JAXBContext
customization.classes
- additional classes used for creating JAXBContext
.public MoxyXmlFeature(Map<String,Object> properties, ClassLoader classLoader, boolean oxmMappingLookup, Class... classes)
JAXBContext
customization.properties
- properties to be passed to
JAXBContextFactory.createContext(Class[], java.util.Map,
ClassLoader)
. May be null
.classLoader
- will be used to load classes. If null
, current context ClassLoader
will be used.oxmMappingLookup
- if true
, lookup for file with custom mappings will be performed.classes
- additional classes used for creating JAXBContext
.public boolean configure(FeatureContext context)
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.