org.jvnet.jax_ws_commons.json
Class SchemaInfo
java.lang.Object
org.jvnet.jax_ws_commons.json.SchemaInfo
public final class SchemaInfo
- extends java.lang.Object
Captures the information parsed from XML Schema.
Used to guide the JSON/XML conversion.
- Author:
- Kohsuke Kawaguchi
Constructor Summary |
SchemaInfo(com.sun.xml.ws.api.server.WSEndpoint endpoint)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaInfo
public SchemaInfo(com.sun.xml.ws.api.server.WSEndpoint endpoint)
- Throws:
javax.xml.ws.WebServiceException
- If failed to parse schema portion inside WSDL.
getServiceName
public java.lang.String getServiceName()
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamReader
public javax.xml.stream.XMLStreamReader createXMLStreamReader(org.codehaus.jettison.json.JSONTokener tokener)
throws org.codehaus.jettison.json.JSONException,
javax.xml.stream.XMLStreamException
- Throws:
org.codehaus.jettison.json.JSONException
javax.xml.stream.XMLStreamException
getOperations
public java.util.List<JsonOperation> getOperations()
getTypes
public java.util.Set<CompositeJsonType> getTypes()