citysdk.tourism.client.parser.data
Class ImageContent

java.lang.Object
  extended by citysdk.tourism.client.parser.data.ImageContent

public class ImageContent
extends java.lang.Object

Container of an image. It can be either the byte-code (base64) of the image or a URI of the image.

Author:
Pedro Cruz

Constructor Summary
ImageContent(java.lang.String content)
           
 
Method Summary
 java.lang.String getContent()
           
 boolean hasImgByteCode()
           
 boolean hasImgUri()
           
 void isImgByteCode(boolean imgByteCode)
           
 void isImgUri(boolean imgUri)
           
 void setContent(java.lang.String content)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageContent

public ImageContent(java.lang.String content)
Method Detail

hasImgByteCode

public boolean hasImgByteCode()

isImgByteCode

public void isImgByteCode(boolean imgByteCode)

hasImgUri

public boolean hasImgUri()

isImgUri

public void isImgUri(boolean imgUri)

getContent

public java.lang.String getContent()

setContent

public void setContent(java.lang.String content)