Class R.resources.loaders.XMLLoader
Extends
R.resources.loaders.RemoteLoader.
Loads XML files from a specified URL.
Defined in: xmlloader.js.
Constructor Attributes | Constructor Name and Description |
---|---|
- Fields borrowed from class R.resources.loaders.RemoteLoader:
- STATUS_CACHED, STATUS_NOT_FOUND, STATUS_OK, STATUS_SERVER_ERROR
Method Attributes | Method Name and Description |
---|---|
constructor(name)
private
|
|
Get the class name of this object.
|
|
The name of the resource this loader will get.
|
|
load(name, url)
Load an XML file from a URL.
|
- Methods borrowed from class R.resources.loaders.RemoteLoader:
- exists, getPathUrl, setPathUrl
- Methods borrowed from class R.resources.loaders.AbstractResourceLoader:
- clear, destroy, exportAll, get, getCachedObjects, getResourceObject, getResources, isReady, release, set, setReady, unload
- Methods borrowed from class R.engine.BaseObject:
- addEvent, addEvents, getElement, jQ, removeEvent, setElement, triggerEvent, update
- Methods borrowed from class R.engine.PooledObject:
- clearObjectDataModel, getId, getName, getObjectDataModel, getProperties, isDestroyed, setName, setObjectDataModel, toString, toXML
Class Detail
R.resources.loaders.XMLLoader(name)
- Parameters:
- name
- {String=XMLLoader} The name of the resource loader
Method Detail
constructor(name)
private
- Parameters:
- name
{String}
getClassName()
Get the class name of this object.
- Returns:
- {String} The string "R.resources.loaders.XMLLoader"
{String}
getResourceType()
The name of the resource this loader will get.
- Returns:
- {String} The string "object"
load(name, url)
Load an XML file from a URL.
- Parameters:
- name
- {String} The name of the resource
- url
- {String} The URL where the resource is located