public class ContextFactory extends Object
Used to create JAXBContext objects for v1.0.1 and forward
| Modifier and Type | Field and Description |
|---|---|
static String |
USE_JAXB_PROPERTIES |
| Constructor and Description |
|---|
ContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static JAXBRIContext |
createContext(Class[] classes,
Collection<TypeReference> typeRefs,
Map<Class,Class> subclassReplacements,
String defaultNsUri,
boolean c14nSupport,
RuntimeAnnotationReader ar,
boolean xmlAccessorFactorySupport,
boolean allNillable,
boolean retainPropertyInfo)
Deprecated.
use createContext(Class[] classes, Map
|
static JAXBRIContext |
createContext(Class[] classes,
Collection<TypeReference> typeRefs,
Map<Class,Class> subclassReplacements,
String defaultNsUri,
boolean c14nSupport,
RuntimeAnnotationReader ar,
boolean xmlAccessorFactorySupport,
boolean allNillable,
boolean retainPropertyInfo,
boolean improvedXsiTypeHandling)
Deprecated.
use createContext( Class[] classes, Map
|
static JAXBContext |
createContext(Class[] classes,
Map<String,Object> properties)
The API will invoke this method via reflection
|
static JAXBContext |
createContext(String contextPath,
ClassLoader classLoader,
Map<String,Object> properties)
The API will invoke this method via reflection.
|
public static final String USE_JAXB_PROPERTIES
public static JAXBContext createContext(Class[] classes, Map<String,Object> properties) throws JAXBException
JAXBException@Deprecated public static JAXBRIContext createContext(Class[] classes, Collection<TypeReference> typeRefs, Map<Class,Class> subclassReplacements, String defaultNsUri, boolean c14nSupport, RuntimeAnnotationReader ar, boolean xmlAccessorFactorySupport, boolean allNillable, boolean retainPropertyInfo) throws JAXBException
classes - typeRefs - subclassReplacements - defaultNsUri - c14nSupport - ar - xmlAccessorFactorySupport - allNillable - retainPropertyInfo - JAXBException@Deprecated public static JAXBRIContext createContext(Class[] classes, Collection<TypeReference> typeRefs, Map<Class,Class> subclassReplacements, String defaultNsUri, boolean c14nSupport, RuntimeAnnotationReader ar, boolean xmlAccessorFactorySupport, boolean allNillable, boolean retainPropertyInfo, boolean improvedXsiTypeHandling) throws JAXBException
classes - typeRefs - subclassReplacements - defaultNsUri - c14nSupport - ar - xmlAccessorFactorySupport - allNillable - retainPropertyInfo - improvedXsiTypeHandling - JAXBExceptionpublic static JAXBContext createContext(String contextPath, ClassLoader classLoader, Map<String,Object> properties) throws JAXBException
JAXBExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.