eu.emi.emir.client.glue2
Class XmlbeansToJson
java.lang.Object
eu.emi.emir.client.glue2.XmlbeansToJson
public class XmlbeansToJson
- extends Object
Converts GLUE 2.0 XMLBeans XML to EMIR's JSON
- Author:
- a.memon
|
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 |
XmlbeansToJson
public XmlbeansToJson()
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.