Used to create JAXBContext objects for v1.0.1 and forward
| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static JAXBContext | createContext(Class<T>[] classes, Map<String, Object> properties)
The API will invoke this method via reflection |
| public static JAXBRIContext | createContext(Class<T>[] classes, Collection<TypeReference> typeRefs, Map<Class<T>, Class<T>> subclassReplacements, String defaultNsUri, boolean c14nSupport, RuntimeAnnotationReader ar, boolean xmlAccessorFactorySupport, boolean allNillable, boolean retainPropertyInfo)
Deprecated
use
createContext(Class[] classes, Map<String,Object> properties) method instead
|
| public static JAXBRIContext | createContext(Class<T>[] classes, Collection<TypeReference> typeRefs, Map<Class<T>, Class<T>> subclassReplacements, 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
|
| public static JAXBContext | createContext(String contextPath, ClassLoader classLoader, Map<String, Object> properties)
The API will invoke this method via reflection. |
| private static <T> T | |
| private static List | Returns: a List of Class objects to load, null if there weren't anypackage name to search in pkg, ClassLoader ClassLoader to search in classLoader)Look for jaxb.index file in the specified package and load it's contents |
| USE_JAXB_PROPERTIES | back to summary |
|---|---|
| public static final String USE_JAXB_PROPERTIES | |
| ContextFactory | back to summary |
|---|---|
| private ContextFactory() Private constructor. | |
| createContext | back to summary |
|---|---|
| public static JAXBContext createContext(Class<T>[] classes, Map<String, Object> properties) throws JAXBException The API will invoke this method via reflection | |
| createContext | back to summary |
|---|---|
| public static JAXBRIContext createContext(Class<T>[] classes, Collection<TypeReference> typeRefs, Map<Class<T>, Class<T>> subclassReplacements, String defaultNsUri, boolean c14nSupport, RuntimeAnnotationReader ar, boolean xmlAccessorFactorySupport, boolean allNillable, boolean retainPropertyInfo) throws JAXBException
Deprecated use
| |
| createContext | back to summary |
|---|---|
| public static JAXBRIContext createContext(Class<T>[] classes, Collection<TypeReference> typeRefs, Map<Class<T>, Class<T>> subclassReplacements, String defaultNsUri, boolean c14nSupport, RuntimeAnnotationReader ar, boolean xmlAccessorFactorySupport, boolean allNillable, boolean retainPropertyInfo, boolean improvedXsiTypeHandling) throws JAXBException
Deprecated use
| |
| createContext | back to summary |
|---|---|
| public static JAXBContext createContext(String contextPath, ClassLoader classLoader, Map<String, Object> properties) throws JAXBException The API will invoke this method via reflection. | |
| getPropertyValue | back to summary |
|---|---|
| private static <T> T getPropertyValue(Map<String, Object> properties, String keyName, Class<T> type) throws JAXBException If a key is present in the map, remove the value and return it. | |
| loadIndexedClasses | back to summary |
|---|---|
| private static List Look for jaxb.index file in the specified package and load it's contents
| |