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