Class Index | File Index

Classes


Class UriTemplate

Implementation of the URI Template RFC6570 (http://tools.ietf.org/html/rfc6570)
Defined in: jquery.citysdk-tourism.uritemplate.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
UriTemplate.build(values)
Converts a given loaded template into a URI containg the given values
<static>  
UriTemplate.fromTemplate(template)
Loads a given template
<static>  
UriTemplate.hasParameter(parameter)
Checks whether a template has a given parameter
Class Detail
UriTemplate()
Method Detail
<static> {String} UriTemplate.build(values)
Converts a given loaded template into a URI containg the given values
Parameters:
values
values of each parameter
Returns:
{String} the converted URI

<static> UriTemplate.fromTemplate(template)
Loads a given template
Parameters:
template
to load

<static> {boolean} UriTemplate.hasParameter(parameter)
Checks whether a template has a given parameter
Parameters:
parameter
check if a given template has a parameter
Returns:
{boolean} true if it is present, false otherwise

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jul 02 2013 13:20:49 GMT+0100 (WEST)