Class wso2vis.p.ProviderGET
Extends
wso2vis.p.Provider.
ProviderGET
Defined in: ProviderGET.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
parseResponse(response, that)
|
|
parseXml(xml)
converts xml string to a dom object
|
|
pullData()
|
|
xmlToJson(xml, tab)
Once passed an xml dom object xmlToJson will create a corresponding JSON object.
|
- Methods borrowed from class wso2vis.p.Provider:
- addDataReceiver, getID, pushData
Method Detail
createXmlHttpRequest()
getURLwithRandomParam()
initialize()
parseResponse(response, that)
- Parameters:
- response
- that
{dom}
parseXml(xml)
converts xml string to a dom object
- Parameters:
- {string} xml Optional
- a xml string
- Returns:
- {dom} a xml dom object
pullData()
pullDataSync()
{object}
xmlToJson(xml, tab)
Once passed an xml dom object xmlToJson will create a corresponding JSON object.
- Parameters:
- {DOM} xml Optional
- a xml dom object
- {string} tab Optional
- an optional whitespace character to beutify the created JSON string.
- Returns:
- {object} a JSON object