Apache CXF API

org.apache.cxf.jaxrs.provider
Class JAXRSDataBinding

java.lang.Object
  extended by org.apache.cxf.databinding.AbstractDataBinding
      extended by org.apache.cxf.jaxrs.provider.JAXRSDataBinding
All Implemented Interfaces:
DataBinding

public class JAXRSDataBinding
extends AbstractDataBinding

CXF DataBinding implementation wrapping JAX-RS providers


Field Summary
 
Fields inherited from class org.apache.cxf.databinding.AbstractDataBinding
mtomEnabled, mtomThreshold
 
Constructor Summary
JAXRSDataBinding()
           
 
Method Summary
<T> DataReader<T>
createReader(Class<T> cls)
           
<T> DataWriter<T>
createWriter(Class<T> cls)
           
 Class<?>[] getSupportedReaderFormats()
           
 Class<?>[] getSupportedWriterFormats()
           
protected  Method getTargetMethod(Message m)
           
 void initialize(Service service)
          Initialize the service info (i.e.
 void setProvider(Object provider)
           
 
Methods inherited from class org.apache.cxf.databinding.AbstractDataBinding
addSchemaDocument, addSchemaDocument, checkNamespaceMap, getBus, getContextualNamespaceMap, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setContextualNamespaceMap, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXRSDataBinding

public JAXRSDataBinding()
Method Detail

setProvider

public void setProvider(Object provider)

createReader

public <T> DataReader<T> createReader(Class<T> cls)

createWriter

public <T> DataWriter<T> createWriter(Class<T> cls)

getSupportedReaderFormats

public Class<?>[] getSupportedReaderFormats()

getSupportedWriterFormats

public Class<?>[] getSupportedWriterFormats()

initialize

public void initialize(Service service)
Description copied from interface: DataBinding
Initialize the service info (i.e. type & element names, Schemas) with information from the databinding.


getTargetMethod

protected Method getTargetMethod(Message m)

Apache CXF API

Apache CXF