|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.json.AbstractJSONOMBuilder
org.apache.axis2.json.JSONOMBuilder
public class JSONOMBuilder
Makes the OMSourcedElementImpl object with the JSONDataSource inside.
| Constructor Summary | |
|---|---|
JSONOMBuilder()
|
|
| Method Summary | |
|---|---|
protected AbstractJSONDataSource |
getDataSource(java.io.Reader jsonReader,
java.lang.String prefix,
java.lang.String localName)
|
java.lang.String |
getDefaultJSONString(MessageContext msgCtx,
java.lang.String localName)
This method returns a default JSON string whenever a GET request, which doesn't contain any parameter, is served. |
| Methods inherited from class org.apache.axis2.json.AbstractJSONOMBuilder |
|---|
processDocument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONOMBuilder()
| Method Detail |
|---|
protected AbstractJSONDataSource getDataSource(java.io.Reader jsonReader,
java.lang.String prefix,
java.lang.String localName)
getDataSource in class AbstractJSONOMBuilder
public java.lang.String getDefaultJSONString(MessageContext msgCtx,
java.lang.String localName)
throws AxisFault
AbstractJSONOMBuilder
getDefaultJSONString in class AbstractJSONOMBuildermsgCtx - MessageContext associated with the current requestlocalName - Name of the first element
AxisFault - Is thrown when an unrecognized content type is received
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||