public class PubControl extends ExtensionPoint
BaseEntry.setDraft(Boolean)
, which will create a PubControl
object when necessary.Modifier and Type | Class and Description |
---|---|
class |
PubControl.AtomHandler
<app:control> parser. |
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Constructor and Description |
---|
PubControl()
Creates an empty app:control tag.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addExtension, addRepeatingExtension, declareExtensions, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
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