Package org.apache.axis2.dataretrieval
Class WSDLDataLocator
- java.lang.Object
-
- org.apache.axis2.dataretrieval.BaseAxisDataLocator
-
- org.apache.axis2.dataretrieval.WSDLDataLocator
-
- All Implemented Interfaces:
AxisDataLocator
public class WSDLDataLocator extends BaseAxisDataLocator implements AxisDataLocator
Axis 2 Data Locator responsibles for retrieving WSDL metadata.
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.dataretrieval.BaseAxisDataLocator
dataList
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WSDLDataLocator()
protected
WSDLDataLocator(ServiceData[] data)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Data[]
getData(DataRetrievalRequest request, MessageContext msgContext)
getData API Implement data retrieval logic for WSDL dialectprotected Data[]
outputInlineForm(MessageContext msgContext, ServiceData[] dataList)
protected Data[]
outputLocationForm(ServiceData[] serviceData)
-
Methods inherited from class org.apache.axis2.dataretrieval.BaseAxisDataLocator
getOutputForm, outputReferenceForm, setServiceData
-
-
-
-
Constructor Detail
-
WSDLDataLocator
protected WSDLDataLocator()
-
WSDLDataLocator
protected WSDLDataLocator(ServiceData[] data)
Constructor- Parameters:
data
- an array of ServiceData instance defined in the ServiceData.xml for the WSDL dialect.
-
-
Method Detail
-
getData
public Data[] getData(DataRetrievalRequest request, MessageContext msgContext) throws DataRetrievalException
getData API Implement data retrieval logic for WSDL dialect- Specified by:
getData
in interfaceAxisDataLocator
- Overrides:
getData
in classBaseAxisDataLocator
- Parameters:
request
- TheDataRetrievalRequest
allow to specify parameters about the request, and additional information to process the request.msgContext
- TheMessageContext
from the original request.- Returns:
Data
[] for the request.- Throws:
DataRetrievalException
-
outputInlineForm
protected Data[] outputInlineForm(MessageContext msgContext, ServiceData[] dataList) throws DataRetrievalException
- Overrides:
outputInlineForm
in classBaseAxisDataLocator
- Throws:
DataRetrievalException
-
outputLocationForm
protected Data[] outputLocationForm(ServiceData[] serviceData) throws DataRetrievalException
- Overrides:
outputLocationForm
in classBaseAxisDataLocator
- Throws:
DataRetrievalException
-
-