Package org.apache.axis2.json
Class JSONDataSource
- java.lang.Object
-
- org.apache.axiom.om.ds.AbstractOMDataSource
-
- org.apache.axiom.om.ds.AbstractPullOMDataSource
-
- org.apache.axis2.json.AbstractJSONDataSource
-
- org.apache.axis2.json.JSONDataSource
-
- All Implemented Interfaces:
OMDataSource
,OMDataSourceExt
public class JSONDataSource extends AbstractJSONDataSource
JSON data source implementation for the "Mapped" convention.
-
-
Constructor Summary
Constructors Constructor Description JSONDataSource(Reader jsonReader, MessageContext messageContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.codehaus.jettison.AbstractXMLInputFactory
getXMLInputFactory()
-
Methods inherited from class org.apache.axis2.json.AbstractJSONDataSource
getObject, getReader, isDestructiveRead
-
Methods inherited from class org.apache.axiom.om.ds.AbstractPullOMDataSource
isDestructiveWrite, serialize
-
Methods inherited from class org.apache.axiom.om.ds.AbstractOMDataSource
close, copy, getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setProperty
-
-
-
-
Constructor Detail
-
JSONDataSource
public JSONDataSource(Reader jsonReader, MessageContext messageContext)
-
-
Method Detail
-
getXMLInputFactory
protected org.codehaus.jettison.AbstractXMLInputFactory getXMLInputFactory() throws XMLStreamException
- Specified by:
getXMLInputFactory
in classAbstractJSONDataSource
- Throws:
XMLStreamException
-
-