eu.emi.emir.client.glue2
Class XmlbeansToJson

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

public class XmlbeansToJson
extends Object

Converts GLUE 2.0 XMLBeans XML to EMIR's JSON

Author:
a.memon

Constructor Summary
XmlbeansToJson()
           
 
Method Summary
static org.codehaus.jettison.json.JSONArray convert(org.ogf.schemas.glue.x2009.x03.spec20R1.ServiceT service)
           
static org.codehaus.jettison.json.JSONArray convert(String serviceXML)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlbeansToJson

public XmlbeansToJson()
Method Detail

convert

public static org.codehaus.jettison.json.JSONArray convert(String serviceXML)
                                                    throws org.apache.xmlbeans.XmlException,
                                                           org.codehaus.jettison.json.JSONException
Throws:
org.apache.xmlbeans.XmlException
org.codehaus.jettison.json.JSONException

convert

public static org.codehaus.jettison.json.JSONArray convert(org.ogf.schemas.glue.x2009.x03.spec20R1.ServiceT service)
                                                    throws org.codehaus.jettison.json.JSONException
Throws:
org.codehaus.jettison.json.JSONException


Copyright © 2013 EMI. All Rights Reserved.