public class When extends ExtensionPoint implements Extension
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
protected DateTime |
endTime
Event end time (optional).
|
protected java.lang.String |
rel |
protected DateTime |
startTime
Event start time (required).
|
protected java.lang.String |
valueString
String description of the event times.
|
xmlBloblocalName, namespace| Constructor and Description |
|---|
When() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
|
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description and is repeatable.
|
static ExtensionDescription |
getDefaultDescription(boolean repeatable)
Returns the suggested extension description with configurable
repeatabilty.
|
DateTime |
getEndTime() |
java.lang.String |
getRel() |
DateTime |
getStartTime() |
java.lang.String |
getValueString() |
protected void |
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
void |
setEndTime(DateTime v) |
void |
setRel(java.lang.String v) |
void |
setStartTime(DateTime v) |
void |
setValueString(java.lang.String v) |
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, throwExceptionIfImmutableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, getHandlerprotected java.lang.String rel
protected DateTime startTime
protected DateTime endTime
protected java.lang.String valueString
public java.lang.String getRel()
public void setRel(java.lang.String v)
public DateTime getStartTime()
public void setStartTime(DateTime v)
public DateTime getEndTime()
public void setEndTime(DateTime v)
public java.lang.String getValueString()
public void setValueString(java.lang.String v)
public static ExtensionDescription getDefaultDescription(boolean repeatable)
public static ExtensionDescription getDefaultDescription()
protected void validate()
throws java.lang.IllegalStateException
AbstractExtensionvalidate in class AbstractExtensionjava.lang.IllegalStateException - if any problems are found with the
attributesprotected 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 exception