org.codehaus.enunciate.jboss
Class ResteasyJacksonJaxbProvider

java.lang.Object
  extended by org.codehaus.jackson.jaxrs.JacksonJsonProvider
      extended by org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider
          extended by org.codehaus.enunciate.jboss.ResteasyJacksonJaxbProvider
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<java.lang.Object>, javax.ws.rs.ext.MessageBodyWriter<java.lang.Object>, org.codehaus.jackson.Versioned

@Provider
public class ResteasyJacksonJaxbProvider
extends org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider

Only different from Jackson one is *+json in @Produces/@Consumes

Version:
$Revision$
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider
DEFAULT_ANNOTATIONS
 
Fields inherited from class org.codehaus.jackson.jaxrs.JacksonJsonProvider
_cfgCheckCanDeserialize, _cfgCheckCanSerialize, _cfgCustomUntouchables, _jsonpFunctionName, _mapperConfig, _providers, _unreadableClasses, _untouchables, _unwritableClasses, BASIC_ANNOTATIONS
 
Constructor Summary
ResteasyJacksonJaxbProvider()
           
 
Method Summary
 boolean isReadable(java.lang.Class<?> aClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
 boolean isWriteable(java.lang.Class<?> aClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
 
Methods inherited from class org.codehaus.jackson.jaxrs.JacksonJsonProvider
_containedIn, _findView, addUntouchable, checkCanDeserialize, checkCanSerialize, configure, configure, configure, configure, disable, disable, disable, disable, enable, enable, enable, enable, findEncoding, getSize, isJsonType, locateMapper, readFrom, setAnnotationsToUse, setJSONPFunctionName, setMapper, version, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResteasyJacksonJaxbProvider

public ResteasyJacksonJaxbProvider()
Method Detail

isReadable

public boolean isReadable(java.lang.Class<?> aClass,
                          java.lang.reflect.Type type,
                          java.lang.annotation.Annotation[] annotations,
                          javax.ws.rs.core.MediaType mediaType)
Specified by:
isReadable in interface javax.ws.rs.ext.MessageBodyReader<java.lang.Object>
Overrides:
isReadable in class org.codehaus.jackson.jaxrs.JacksonJsonProvider

isWriteable

public boolean isWriteable(java.lang.Class<?> aClass,
                           java.lang.reflect.Type type,
                           java.lang.annotation.Annotation[] annotations,
                           javax.ws.rs.core.MediaType mediaType)
Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<java.lang.Object>
Overrides:
isWriteable in class org.codehaus.jackson.jaxrs.JacksonJsonProvider