org.apache.axis2.dataretrieval
Class BaseAxisDataLocator
java.lang.Object
org.apache.axis2.dataretrieval.BaseAxisDataLocator
- Direct Known Subclasses:
- PolicyDataLocator, SchemaDataLocator, WSDLDataLocator
public abstract class BaseAxisDataLocator
- extends java.lang.Object
BaseAxisDataLocator implements common code and serves as a base class
for the supported default Axis2 dialect data locators.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataList
protected ServiceData[] dataList
BaseAxisDataLocator
public BaseAxisDataLocator()
getData
public Data[] getData(DataRetrievalRequest request,
MessageContext msgContext)
throws DataRetrievalException
- The default Axis2 Data locator getData API
Checks data information configured in ServiceData.xml for the supported
output forms: inline, url, EndpointReference.
Note: Subclass that has its implementation of outInlineForm, outputLocationForm,
and outputReferenceForm logic must implement the getData API.
- Throws:
DataRetrievalException
outputInlineForm
protected Data[] outputInlineForm(MessageContext msgContext,
ServiceData[] serviceData)
throws DataRetrievalException
- Throws:
DataRetrievalException
outputLocationForm
protected Data[] outputLocationForm(ServiceData[] serviceData)
throws DataRetrievalException
- Throws:
DataRetrievalException
outputReferenceForm
protected Data[] outputReferenceForm(MessageContext msgContext,
ServiceData[] serviceData)
throws DataRetrievalException
- Throws:
DataRetrievalException
setServiceData
protected void setServiceData(ServiceData[] inServiceData)
getOutputForm
protected OutputForm getOutputForm()
Copyright © 2007 Apache Web Services Project. All Rights Reserved.