public class GroupMembershipInfo extends ExtensionPoint
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandlerxmlBloblocalName, namespace| Constructor and Description |
|---|
GroupMembershipInfo()
Default mutable constructor.
|
GroupMembershipInfo(Boolean deleted,
String href)
Immutable constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
|
boolean |
equals(Object obj) |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
Boolean |
getDeleted()
Returns the whether the contact was removed from the group.
|
String |
getHref()
Returns the URI of the group.
|
boolean |
hasDeleted()
Returns whether it has the whether the contact was removed from the group.
|
int |
hashCode() |
boolean |
hasHref()
Returns whether it has the URI of the group.
|
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
void |
setDeleted(Boolean deleted)
Sets the whether the contact was removed from the group.
|
void |
setHref(String href)
Sets the URI of the group.
|
String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, declareExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getHandler, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildrendisableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutablepublic Boolean getDeleted()
public void setDeleted(Boolean deleted)
deleted - whether the contact was removed from the group or
null to resetpublic boolean hasDeleted()
public String getHref()
public void setHref(String href)
href - URI of the group or null to resetpublic boolean hasHref()
protected void validate()
AbstractExtensionvalidate in class AbstractExtensionpublic static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required - whether it is requiredrepeatable - whether it is repeatableprotected void putAttributes(AttributeGenerator generator)
AbstractExtensionAbstractExtension.generate(XmlWriter,ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.putAttributes in class AbstractExtensiongenerator - attribute generatorprotected void consumeAttributes(AttributeHelper helper) throws ParseException
AbstractExtensionAttributeHelper.consumeContent(boolean) to consume the element's text
content. Called from AbstractExtension.getHandler(com.google.gdata.data.ExtensionProfile, java.lang.String, java.lang.String, org.xml.sax.Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.consumeAttributes in class AbstractExtensionhelper - attribute helperParseException - any parsing exceptionCopyright © 2012. All Rights Reserved.