com.atlassian.plugins.rest.common.json
Class DefaultJsonJaxbContextFactory

java.lang.Object
  extended by com.atlassian.plugins.rest.common.json.DefaultJsonJaxbContextFactory
All Implemented Interfaces:
JsonJaxbContextFactory

public class DefaultJsonJaxbContextFactory
extends java.lang.Object
implements JsonJaxbContextFactory

Creates a JSONJAXBContext using the JSONConfiguration.natural() configuration.

Since:
v1.0.2

Constructor Summary
DefaultJsonJaxbContextFactory()
           
 
Method Summary
 com.sun.jersey.api.json.JSONJAXBContext createContext(java.lang.Class... classes)
          Given a list of JAXB classes, this method creates a JSONJAXBContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJsonJaxbContextFactory

public DefaultJsonJaxbContextFactory()
Method Detail

createContext

public com.sun.jersey.api.json.JSONJAXBContext createContext(java.lang.Class... classes)
Description copied from interface: JsonJaxbContextFactory
Given a list of JAXB classes, this method creates a JSONJAXBContext

Specified by:
createContext in interface JsonJaxbContextFactory
Parameters:
classes - a list of JAXB classes
Returns:
a JSONJAXBContext


Copyright © 2009 Atlassian. All Rights Reserved.