public class DSOMDataSource extends Object implements org.apache.axiom.om.OMDataSource
Constructor and Description |
---|
DSOMDataSource(DataService dataService,
String opName,
Map<String,ParamValue> params) |
Modifier and Type | Method and Description |
---|---|
void |
execute(XMLStreamWriter xmlWriter) |
void |
executeInOnly()
This method is called when the current request is a in-only operations,
so a result is not expected.
|
DataService |
getDataService() |
String |
getOpName() |
Map<String,ParamValue> |
getParams() |
XMLStreamReader |
getReader() |
void |
serialize(OutputStream output,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(Writer writer,
org.apache.axiom.om.OMOutputFormat format) |
void |
serialize(XMLStreamWriter xmlWriter) |
public DSOMDataSource(DataService dataService, String opName, Map<String,ParamValue> params)
public DataService getDataService()
public String getOpName()
public Map<String,ParamValue> getParams()
public void executeInOnly() throws XMLStreamException
XMLStreamException
public void serialize(OutputStream output, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public void serialize(Writer writer, org.apache.axiom.om.OMOutputFormat format) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public void execute(XMLStreamWriter xmlWriter) throws XMLStreamException
XMLStreamException
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
serialize
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
public XMLStreamReader getReader() throws XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
XMLStreamException
Copyright © 2019 WSO2. All rights reserved.