This class implements the XMLRPC specific methods.
This class implements the XMLRPC specific methods. | |
Encode the data in XMLRPC protocol and returns the appropriate string | |
Decodes received XML in XMLRPC response format to JS data structure | |
Returns the content type of XML document | |
Returns the server URL | |
Converts the passed string to another one with all XML entities encoded correctly | |
Remove all childNodes that are not NonElement Nodes | |
Parses methodResponse element and resturns its value | |
Parses <value> elements | |
Parses <struct> elements | |
Parses <array> elements | |
Parses <i4>, <int> and <double> elements | |
Parses <string> elements | |
Convert JS entities to XMLRPC entities |
Encode the data in XMLRPC protocol and returns the appropriate string
p.encode = function ( method, params )
Decodes received XML in XMLRPC response format to JS data structure
p.decode = function ( response )
Returns the content type of XML document
p.getContentType = function()
Returns the server URL
p.getServerURL = function()
Converts the passed string to another one with all XML entities encoded correctly
p._encodeXMLEntities = function ( toEncode )
Remove all childNodes that are not NonElement Nodes
p._removeNonElementNodes = function ( node )
Parses methodResponse element and resturns its value
p._decodeMethodResponse = function ( node )
Parses value elements
p._decodeValue = function ( node )
Parses struct elements
p._decodeStruct = function ( node )
Parses array elements
p._decodeArray = function ( node )
Parses i4, int and double elements
p._decodeNumber = function ( node )
Parses string elements
p._decodeString = function ( node )
Convert JS entities to XMLRPC entities
p._processParameter = function ( param )