public class ResourceProperty extends AbstractExtension
AbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static ResourceProperty |
FALSE |
protected String |
id |
static ResourceProperty |
TRUE |
protected String |
value |
localName, namespace| Constructor and Description |
|---|
ResourceProperty() |
ResourceProperty(String value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
|
boolean |
equals(Object o) |
static ExtensionDescription |
getDefaultDescription() |
String |
getId() |
String |
getValue() |
int |
hashCode() |
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
void |
setId(String resId) |
void |
setValue(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 String id
protected String value
public ResourceProperty()
public ResourceProperty(String value)
public static ExtensionDescription getDefaultDescription()
public String getId()
public void setId(String resId)
public String getValue()
public void setValue(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 AbstractExtensionCopyright © 2012. All Rights Reserved.