com.sun.xml.ws.db.toplink
Class JAXBContextFactory

java.lang.Object
  extended by com.sun.xml.ws.spi.db.BindingContextFactory
      extended by com.sun.xml.ws.db.toplink.JAXBContextFactory

public class JAXBContextFactory
extends com.sun.xml.ws.spi.db.BindingContextFactory

JAXBContextFactory

Author:
shih-chang.chen@oracle.com

Field Summary
static String OXM_XML_ELEMENT
           
static String OXM_XML_OVERRIDE
           
 
Fields inherited from class com.sun.xml.ws.spi.db.BindingContextFactory
DefaultDatabindingMode, JAXB_CONTEXT_FACTORY_PROPERTY, LOGGER
 
Constructor Summary
JAXBContextFactory()
           
 
Method Summary
static Class<?> classForName(String name)
           
static Class<?> classForName(String name, ClassLoader cl)
           
protected  com.sun.xml.ws.spi.db.BindingContext getContext(Marshaller m)
           
protected  boolean isFor(String str)
           
protected  com.sun.xml.ws.spi.db.BindingContext newContext(com.sun.xml.ws.spi.db.BindingInfo bi)
           
protected  com.sun.xml.ws.spi.db.BindingContext newContext(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

JAXBContextFactory

public JAXBContextFactory()
Method Detail

isFor

protected boolean isFor(String str)
Specified by:
isFor in class com.sun.xml.ws.spi.db.BindingContextFactory

getContext

protected com.sun.xml.ws.spi.db.BindingContext getContext(Marshaller m)
Specified by:
getContext in class com.sun.xml.ws.spi.db.BindingContextFactory

newContext

protected com.sun.xml.ws.spi.db.BindingContext newContext(JAXBContext context)
Specified by:
newContext in class com.sun.xml.ws.spi.db.BindingContextFactory

newContext

protected com.sun.xml.ws.spi.db.BindingContext newContext(com.sun.xml.ws.spi.db.BindingInfo bi)
Specified by:
newContext in class com.sun.xml.ws.spi.db.BindingContextFactory

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


Copyright © 2015 Oracle Corporation. All Rights Reserved.