Package org.apache.axis2.json
Class JSONBadgerfishDataSource
java.lang.Object
org.apache.axis2.json.AbstractJSONDataSource
org.apache.axis2.json.JSONBadgerfishDataSource
- All Implemented Interfaces:
org.apache.axiom.om.OMDataSource
JSON data source implementation for the "Badgerfish" convention.
-
Field Summary
Fields inherited from class org.apache.axis2.json.AbstractJSONDataSource
localName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGives the StAX reader using the "Badgerfish" formatted input JSON String.Methods inherited from class org.apache.axis2.json.AbstractJSONDataSource
getCompleteJOSNString, getJSONString, serialize, serialize, serialize
-
Constructor Details
-
JSONBadgerfishDataSource
-
-
Method Details
-
getReader
Gives the StAX reader using the "Badgerfish" formatted input JSON String.- Specified by:
getReaderin interfaceorg.apache.axiom.om.OMDataSource- Specified by:
getReaderin classAbstractJSONDataSource- Returns:
- The XMLStreamReader according to the JSON String.
- Throws:
XMLStreamException- if there is an error while making the StAX reader.
-