|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.json.JSONDataSource org.apache.axis2.json.JSONBadgerfishDataSource
public class JSONBadgerfishDataSource
JSONDataSource keeps the JSON String inside and consumes it when needed. This is to be kept in the OMSourcedElementImpl and can be used either to expand the tree or get the JSON String directly without expanding. This uses the "Badgerfish" JSON convention.
Field Summary |
---|
Fields inherited from class org.apache.axis2.json.JSONDataSource |
---|
localName |
Constructor Summary | |
---|---|
JSONBadgerfishDataSource(java.io.InputStream jsonInputStream,
java.lang.String localName)
|
Method Summary | |
---|---|
javax.xml.stream.XMLStreamReader |
getReader()
Gives the StAX reader using the "Badgerfish" formatted input JSON String. |
Methods inherited from class org.apache.axis2.json.JSONDataSource |
---|
getCompleteJOSNString, getJSONString, serialize, serialize, serialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONBadgerfishDataSource(java.io.InputStream jsonInputStream, java.lang.String localName)
Method Detail |
---|
public javax.xml.stream.XMLStreamReader getReader() throws javax.xml.stream.XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
getReader
in class JSONDataSource
javax.xml.stream.XMLStreamException
- if there is an error while making the StAX reader.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |