eu.emi.emir.client.glue2
Class Glue2Mapper

java.lang.Object
  extended by eu.emi.emir.client.glue2.Glue2Mapper

public class Glue2Mapper
extends Object

Converts JSON to xml

Author:
a.memon

Constructor Summary
Glue2Mapper()
           
 
Method Summary
 JAXBElement<org.ogf.schemas.glue._2009._03.spec_2.ServiceT>[] toGlue2Service(org.codehaus.jettison.json.JSONArray jo)
           
 JAXBElement<org.ogf.schemas.glue._2009._03.spec_2.ServiceT> toGlue2XML(org.codehaus.jettison.json.JSONObject jo)
           
 QueryResult toQueryResult(org.codehaus.jettison.json.JSONArray jo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Glue2Mapper

public Glue2Mapper()
Method Detail

toQueryResult

public QueryResult toQueryResult(org.codehaus.jettison.json.JSONArray jo)
                          throws JSONToGlue2MappingException
Throws:
JSONToGlue2MappingException

toGlue2Service

public JAXBElement<org.ogf.schemas.glue._2009._03.spec_2.ServiceT>[] toGlue2Service(org.codehaus.jettison.json.JSONArray jo)
                                                                             throws JSONToGlue2MappingException
Throws:
JSONToGlue2MappingException

toGlue2XML

public JAXBElement<org.ogf.schemas.glue._2009._03.spec_2.ServiceT> toGlue2XML(org.codehaus.jettison.json.JSONObject jo)
                                                                       throws org.codehaus.jackson.map.JsonMappingException,
                                                                              org.codehaus.jettison.json.JSONException
Throws:
org.codehaus.jackson.map.JsonMappingException
org.codehaus.jettison.json.JSONException


Copyright © 2013 EMI. All Rights Reserved.