|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.batch.BatchId
public class BatchId
Entry extension for <batch:id>
tags.
Constructor Summary | |
---|---|
BatchId()
Creates a BatchId object without ID. |
|
BatchId(java.lang.String id)
Creates a BatchId object. |
Method Summary | |
---|---|
void |
generate(XmlWriter w,
ExtensionProfile extProfile)
Generates an XML representation for the extension. |
static ExtensionDescription |
getDefaultDescription()
Returns the suggested extension description. |
XmlParser.ElementHandler |
getHandler(ExtensionProfile extProfile,
java.lang.String namespace,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Gets an XML element handler for the extension. |
java.lang.String |
getId()
Gets the id. |
static java.lang.String |
getIdFrom(BaseEntry<?> entry)
Convenience method for getting a batchId from an entry if it's there. |
void |
setId(java.lang.String id)
Sets the id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchId(java.lang.String id)
public BatchId()
Method Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
public static ExtensionDescription getDefaultDescription()
public static java.lang.String getIdFrom(BaseEntry<?> entry)
entry
-
public void generate(XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
Extension
generate
in interface Extension
w
- XML writerextProfile
- extension profile
java.io.IOException
public XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
Extension
getHandler
in interface Extension
extProfile
- extension profilenamespace
- extension namespacelocalName
- tag name, without the namespace prefixattrs
- tag attributes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |