|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fabula.timeline.service.rest.impl.JAXBContextResolver
@Provider public class JAXBContextResolver
This context resolver was created to serialize/deserialize JSON with one element correctly. This way brackets [] are added even if the list contains one element. All lists must be added to this this context resolver.
Constructor Summary | |
---|---|
JAXBContextResolver()
|
Method Summary | |
---|---|
javax.xml.bind.JAXBContext |
getContext(java.lang.Class<?> objectType)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAXBContextResolver() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public javax.xml.bind.JAXBContext getContext(java.lang.Class<?> objectType)
getContext
in interface javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |