com.google.gdata.data.youtube
Class ComplaintEntry
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<ComplaintEntry>
com.google.gdata.data.youtube.ComplaintEntry
- All Implemented Interfaces:
- Extension, IAtom, IEntry, Kind.Adaptable, Kind.Adaptor
public class ComplaintEntry
- extends BaseEntry<ComplaintEntry>
A complaint.
Field Summary |
static java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this entry. |
Method Summary |
void |
addVideoUrl(java.lang.String url)
Adds a rel=related type=application/atom+xml link pointing to the
video. |
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile. |
java.lang.String |
getComment()
Returns the comment of the complaint. |
java.lang.String |
getVideoUrl()
Gets the rel=related type=application/atom+xml link pointing to the video. |
void |
setComment(java.lang.String comment)
Adds an optional comment to the complaint. |
Methods inherited from class com.google.gdata.data.BaseEntry |
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CATEGORIES
public static final java.lang.String[] CATEGORIES
- Nonstandard categories that might be found in this entry.
ComplaintEntry
public ComplaintEntry()
ComplaintEntry
public ComplaintEntry(BaseEntry<?> base)
addVideoUrl
public void addVideoUrl(java.lang.String url)
- Adds a rel=related type=application/atom+xml link pointing to the
video.
- Parameters:
url
- video url
getVideoUrl
public java.lang.String getVideoUrl()
- Gets the rel=related type=application/atom+xml link pointing to the video.
- Returns:
- video url or null
setComment
public void setComment(java.lang.String comment)
- Adds an optional comment to the complaint.
- Parameters:
comment
- optional comment of the complaint
getComment
public java.lang.String getComment()
- Returns the comment of the complaint.
- Returns:
- the comment of the complaint
declareExtensions
public void declareExtensions(ExtensionProfile extProfile)
- Description copied from class:
ExtensionPoint
- Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile. The base implementation does not declare any
extensions, but can be overridden by specific types of ExtensionPoints that
always contain a well-defined set of extensions.
- Specified by:
declareExtensions
in interface Kind.Adaptor
- Overrides:
declareExtensions
in class ExtensionPoint
- Parameters:
extProfile
- the ExtensionProfile to initialize.- See Also:
ExtensionProfile.addDeclarations(Kind.Adaptor)