|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.PubControl
public class PubControl
Publication control tag app:control, which usually contains app:draft.
The main reason for having this as a separate object is mostly so
that it can be used as an extension point. The draft flag is usually set
using BaseEntry.setDraft(Boolean)
, which will create a PubControl
object when necessary.
Nested Class Summary | |
---|---|
class |
PubControl.AtomHandler
<app:control> parser. |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Constructor Summary | |
---|---|
PubControl()
Creates an empty app:control tag. |
Method Summary | |
---|---|
void |
generateAtom(XmlWriter w,
ExtensionProfile extProfile)
Generates the atom representation for this tag. |
boolean |
isDraft()
Checks the value of the app:draft tag. |
void |
setDraft(java.lang.Boolean draft)
Sets the value of the app:draft tag. |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addRepeatingExtension, declareExtensions, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PubControl()
Method Detail |
---|
public boolean isDraft()
public void setDraft(java.lang.Boolean draft)
draft
- sets the draft status, null to unsetpublic void generateAtom(XmlWriter w, ExtensionProfile extProfile) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |