- java.lang.Object
-
- com.sun.xml.ws.spi.db.BindingContextFactory
-
- com.sun.xml.ws.db.toplink.JAXBContextFactory
-
public class JAXBContextFactory extends BindingContextFactory
JAXBContextFactory- Author:
- shih-chang.chen@oracle.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringOXM_XML_ELEMENTstatic StringOXM_XML_OVERRIDE-
Fields inherited from class com.sun.xml.ws.spi.db.BindingContextFactory
DefaultDatabindingMode, JAXB_CONTEXT_FACTORY_PROPERTY, LOGGER
-
-
Constructor Summary
Constructors Constructor Description JAXBContextFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Class<?>classForName(String name)static Class<?>classForName(String name, ClassLoader cl)protected BindingContextgetContext(javax.xml.bind.Marshaller m)protected booleanisFor(String str)protected BindingContextnewContext(BindingInfo bi)protected BindingContextnewContext(javax.xml.bind.JAXBContext context)static Class<?>typeToClass(Type type, ClassLoader cl)-
Methods inherited from class com.sun.xml.ws.spi.db.BindingContextFactory
create, create, getBindingContext, isContextSupported, serviceIterator
-
-
-
-
Field Detail
-
OXM_XML_OVERRIDE
public static final String OXM_XML_OVERRIDE
- See Also:
- Constant Field Values
-
OXM_XML_ELEMENT
public static final String OXM_XML_ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isFor
protected boolean isFor(String str)
- Specified by:
isForin classBindingContextFactory
-
getContext
protected BindingContext getContext(javax.xml.bind.Marshaller m)
- Specified by:
getContextin classBindingContextFactory
-
newContext
protected BindingContext newContext(javax.xml.bind.JAXBContext context)
- Specified by:
newContextin classBindingContextFactory
-
newContext
protected BindingContext newContext(BindingInfo bi)
- Specified by:
newContextin classBindingContextFactory
-
typeToClass
public static final Class<?> typeToClass(Type type, ClassLoader cl)
-
classForName
public static Class<?> classForName(String name, ClassLoader cl) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
classForName
public static Class<?> classForName(String name) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-