public class ResourceProperty extends AbstractExtension
AbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static ResourceProperty |
FALSE |
protected java.lang.String |
id |
static ResourceProperty |
TRUE |
protected java.lang.String |
value |
localName, namespace| Constructor and Description |
|---|
ResourceProperty() |
ResourceProperty(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
|
boolean |
equals(java.lang.Object o) |
static ExtensionDescription |
getDefaultDescription() |
java.lang.String |
getId() |
java.lang.String |
getValue() |
int |
hashCode() |
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
void |
setId(java.lang.String resId) |
void |
setValue(java.lang.String value) |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
disableStrictValidation, enableStrictValidation, eq, generate, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutablepublic static final ResourceProperty TRUE
public static final ResourceProperty FALSE
protected java.lang.String id
protected java.lang.String value
public ResourceProperty()
public ResourceProperty(java.lang.String value)
public static ExtensionDescription getDefaultDescription()
public java.lang.String getId()
public void setId(java.lang.String resId)
public java.lang.String getValue()
public void setValue(java.lang.String value)
protected 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 exceptionprotected void validate()
AbstractExtensionvalidate in class AbstractExtensionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object