/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.amazonaws.mturk.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @author Jeremy Custenborder
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Binary", namespace = QuestionForm.NS)
public class BinaryContent implements Content {
@XmlElement(name = "MimeType", namespace = QuestionForm.NS)
MimeType mimeType;
@XmlElement(name = "DataURL", namespace = QuestionForm.NS)
String dataURL;
@XmlElement(name = "AltText", namespace = QuestionForm.NS)
String altText;
public String getAltText() {
return altText;
}
public void setAltText(String altText) {
this.altText = altText;
}
public String getDataURL() {
return dataURL;
}
public void setDataURL(String dataURL) {
this.dataURL = dataURL;
}
public MimeType getMimeType() {
return mimeType;
}
public void setMimeType(MimeType mimeType) {
this.mimeType = mimeType;
}
}