public class JSONOMBuilder extends AbstractJSONOMBuilder
| Constructor and Description |
|---|
JSONOMBuilder() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
processDocumentprotected AbstractJSONDataSource getDataSource(java.io.Reader jsonReader, java.lang.String prefix, java.lang.String localName)
getDataSource in class AbstractJSONOMBuilderpublic java.lang.String getDefaultJSONString(MessageContext msgCtx, java.lang.String localName) throws AxisFault
AbstractJSONOMBuildergetDefaultJSONString in class AbstractJSONOMBuildermsgCtx - MessageContext associated with the current requestlocalName - Name of the first elementAxisFault - Is thrown when an unrecognized content type is receivedCopyright © 2004-2021 The Apache Software Foundation. All Rights Reserved.