Person.AtomHandlerExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerxmlBloblocalName, namespace| Constructor and Description |
|---|
CommentAuthor()
Default mutable constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
GphotoNickname |
getNickname()
Returns the gphoto nickname.
|
GphotoThumbnail |
getThumbnail()
Returns the gphoto thumbnail.
|
GphotoUsername |
getUsername()
Returns the username of the user who made the comment.
|
boolean |
hasNickname()
Returns whether it has the gphoto nickname.
|
boolean |
hasThumbnail()
Returns whether it has the gphoto thumbnail.
|
boolean |
hasUsername()
Returns whether it has the username of the user who made the comment.
|
void |
setNickname(GphotoNickname nickname)
Sets the gphoto nickname.
|
void |
setThumbnail(GphotoThumbnail thumbnail)
Sets the gphoto thumbnail.
|
void |
setUsername(GphotoUsername username)
Sets the username of the user who made the comment.
|
java.lang.String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
generate, generate, generateAtom, generateRss, getEmail, getHandler, getName, getNameLang, getUri, setEmail, setName, setNameLang, setUriaddExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildrenconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutablepublic void declareExtensions(ExtensionProfile extProfile)
ExtensionPointdeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.public GphotoNickname getNickname()
public void setNickname(GphotoNickname nickname)
nickname - gphoto nickname or null to resetpublic boolean hasNickname()
public GphotoThumbnail getThumbnail()
public void setThumbnail(GphotoThumbnail thumbnail)
thumbnail - gphoto thumbnail or null to resetpublic boolean hasThumbnail()
public GphotoUsername getUsername()
public void setUsername(GphotoUsername username)
username - username of the user who made the comment or
null to resetpublic boolean hasUsername()
protected void validate()
AbstractExtensionvalidate in class AbstractExtensionpublic static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required - whether it is requiredrepeatable - whether it is repeatablepublic java.lang.String toString()
toString in class java.lang.Object