Class Index | File Index

Classes


Class ImageContent

Container of an image. It can be either the byte-code (base64) of the image or a URI of the image.
Defined in: jquery.citysdk-tourism.datareader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ImageContent(content)
Method Summary
Method Attributes Method Name and Description
<static>  
ImageContent.getContent()
Getter
<static>  
ImageContent.hasImgByteCode()
Checks whether the content is byte code or not
<static>  
ImageContent.hasImgUri()
Checks whether the content is an image URI or not
<static>  
ImageContent.isImgByteCode(imgByteCode)
Indicates if the content is image byte code
<static>  
ImageContent.isImgUri(imgUri)
Indicates if the content is an image URI or not
<static>  
ImageContent.setContent(the)
Setter
Class Detail
ImageContent(content)
Parameters:
content
either an image URI or byte code
Method Detail
<static> {String} ImageContent.getContent()
Getter
Returns:
{String} the content

<static> {Boolean} ImageContent.hasImgByteCode()
Checks whether the content is byte code or not
Returns:
{Boolean} true if content is byte code, false otherwise

<static> {Boolean} ImageContent.hasImgUri()
Checks whether the content is an image URI or not
Returns:
{Boolean} true if content is an URI, false otherwise

<static> ImageContent.isImgByteCode(imgByteCode)
Indicates if the content is image byte code
Parameters:
imgByteCode
boolean indicating if content is byte code or not

<static> ImageContent.isImgUri(imgUri)
Indicates if the content is an image URI or not
Parameters:
imgUri
boolean indicating if content is byte code or not

<static> ImageContent.setContent(the)
Setter
Parameters:
the
new content

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