public abstract class AbstractJSONOMBuilder extends Object implements Builder
Constructor and Description |
---|
AbstractJSONOMBuilder() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractJSONDataSource |
getDataSource(Reader jsonReader,
String prefix,
String localName) |
org.apache.axiom.om.OMElement |
processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext)
gives the OMSourcedElementImpl using the incoming JSON stream
|
public org.apache.axiom.om.OMElement processDocument(InputStream inputStream, String contentType, MessageContext messageContext) throws AxisFault
processDocument
in interface Builder
inputStream
- - incoming message as an input streamcontentType
- - content type of the message (eg: application/json)messageContext
- - inflow message contextAxisFault
protected abstract AbstractJSONDataSource getDataSource(Reader jsonReader, String prefix, String localName)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.