MoreMotion Face API

Class UrlAddress

Object
   |
   +--UrlAddress

class UrlAddress


This class represents an URL Address that includes MoreMotion specific parameters and it provides methods to manipulate its parameters.
Defined in Common.js


Field Summary
 Boolean asHtml
          Property that indicates that the "_sendhtml=true" parameter to be included into the parameters to force the MoreMotion to response as HTML not XML.
 Object base
          The base part of the URL excluding the query string that contains the parameters
 Boolean includeRandParameter
          Property that indicates a "_rand" parameter with a unique value is included into the parameters when converting this instance to String.
 
Constructor Summary
UrlAddress(url)
           
 
Method Summary
 void addParam(name, value)
           Adds a new parameter to this object
 String getParam(name)
           Return the value of the given parameter
 void parse(url)
           Parses the given URL string and re-initializes this object.
 void removeParam(name)
           Removes the given parameter from this object
 String toString()
           Converts this object to full URL String and returns it

Field Detail

asHtml

Boolean asHtml

base

Object base

includeRandParameter

Boolean includeRandParameter

Constructor Detail

UrlAddress

UrlAddress(url)

Method Detail

addParam

void addParam(name, value)

getParam

String getParam(name)

parse

void parse(url)

removeParam

void removeParam(name)

toString

String toString()

MoreMotion Face API

Copyright 2002 - 2011, MOR YAZILIM
Documentation generated by JSDoc on Thu Mar 3 18:19:14 2011