|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gdata.data.AbstractExtension com.google.gdata.data.ExtensionPoint com.google.gdata.data.BaseEntry<ControlTypeEntry> com.frevvo.forms.client.ControlTypeEntry
public class ControlTypeEntry
This entry represents a single FormType created by a user. It is also always owned/contained by an FormTypeEntry.
This entry does not contain any owned/contained feeds.
Nested Class Summary | |
---|---|
static interface |
ControlTypeEntry.Option
|
protected class |
ControlTypeEntry.OptionHandler
|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
com.google.gdata.data.BaseEntry.AtomHandler, com.google.gdata.data.BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
com.google.gdata.data.ExtensionPoint.CumulativeBlobHandler, com.google.gdata.data.ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
com.google.gdata.data.AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static java.lang.String |
COMMENTENABLED_ELEMENT
|
static java.lang.String |
CONTROLTYPE_ENTRY_URL_FORMAT
|
static java.lang.String |
ID_ATTRIBUTE
|
static java.lang.String |
OPTION_ELEMENT
|
static java.lang.String |
OPTION_LABEL_ATTRIBUTE
|
static java.lang.String |
OPTION_SELECTED_ATTRIBUTE
|
static java.lang.String |
OPTION_VALUE_ATTRIBUTE
|
static java.lang.String |
OPTIONS_ELEMENT
|
static java.lang.String |
READONLY_ELEMENT
|
static java.lang.String |
REL_CONTROLTYPE
|
static java.lang.String |
REL_PARENTCONTROLTYPE
|
static java.lang.String |
REQUIRED_ELEMENT
|
static java.lang.String |
SCHEME_CONTROLTYPE
|
static java.lang.String |
SCHEME_DISPLAYTYPE
|
static java.lang.String |
TYPE_ELEMENT
|
static java.lang.String |
VALUE_ATTRIBUTE
|
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
ControlTypeEntry()
Constructs a new Entry instance |
Method Summary | ||
---|---|---|
void |
declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
|
|
void |
delete()
|
|
void |
generate(com.google.gdata.util.common.xml.XmlWriter w,
com.google.gdata.data.ExtensionProfile extProfile)
|
|
java.lang.String |
getControlType()
Get the ControlType category for this ControlType entry. |
|
static com.google.gdata.data.ExtensionDescription |
getCustomDescription()
|
|
java.lang.String |
getDisplayType()
Get the Display Type category for this ControlType entry. |
|
static java.net.URL |
getEntryURL(java.net.URL baseUrl,
java.lang.String id)
Gets an URL for accessing an FormType entry |
|
|
getExtension(java.lang.Class<T> extensionClass)
|
|
com.google.gdata.util.XmlParser.ElementHandler |
getHandler(com.google.gdata.data.ExtensionProfile p,
java.lang.String namespace,
java.lang.String localName,
org.xml.sax.Attributes attrs)
|
|
java.util.List<ControlTypeEntry.Option> |
getOptions()
|
|
static com.google.gdata.data.ExtensionDescription |
getOptionsDescription()
|
|
ControlTypeEntry |
getParentEntry()
Get the Parent ControlType entry for this entry |
|
com.google.gdata.data.Link |
getParentEntryLink()
Get the Parent ControlType entry link for this entry |
|
static com.google.gdata.data.ExtensionDescription |
getReadOnlyDescription()
|
|
static com.google.gdata.data.ExtensionDescription |
getRequiredDescription()
Returns the suggested extension description. |
|
java.lang.String |
getTypeId()
|
|
boolean |
isCommentEnabled()
Is this control readonly? |
|
boolean |
isReadonly()
Is this control readonly? |
|
boolean |
isRequired()
Is this control required? |
|
ControlTypeEntry |
update()
|
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getRights, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, visitChildren |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REL_CONTROLTYPE
public static final java.lang.String REL_PARENTCONTROLTYPE
public static final java.lang.String SCHEME_CONTROLTYPE
public static final java.lang.String SCHEME_DISPLAYTYPE
public static final java.lang.String CONTROLTYPE_ENTRY_URL_FORMAT
public static final java.lang.String REQUIRED_ELEMENT
public static final java.lang.String READONLY_ELEMENT
public static final java.lang.String COMMENTENABLED_ELEMENT
public static final java.lang.String VALUE_ATTRIBUTE
public static final java.lang.String ID_ATTRIBUTE
public static final java.lang.String TYPE_ELEMENT
public static final java.lang.String OPTIONS_ELEMENT
public static final java.lang.String OPTION_ELEMENT
public static final java.lang.String OPTION_LABEL_ATTRIBUTE
public static final java.lang.String OPTION_VALUE_ATTRIBUTE
public static final java.lang.String OPTION_SELECTED_ATTRIBUTE
Constructor Detail |
---|
public ControlTypeEntry()
Method Detail |
---|
public static java.net.URL getEntryURL(java.net.URL baseUrl, java.lang.String id) throws java.net.MalformedURLException
id
- the theme entry id
java.net.MalformedURLException
public static com.google.gdata.data.ExtensionDescription getRequiredDescription()
public static com.google.gdata.data.ExtensionDescription getReadOnlyDescription()
public static com.google.gdata.data.ExtensionDescription getCustomDescription()
public static com.google.gdata.data.ExtensionDescription getOptionsDescription()
public void declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
declareExtensions
in interface com.google.gdata.data.Kind.Adaptor
declareExtensions
in class com.google.gdata.data.ExtensionPoint
public java.lang.String getControlType()
Get the ControlType category for this ControlType entry.
Here is a summary of the control types and their display types:
public java.lang.String getDisplayType()
getControlType()
for a list of possible display types
public com.google.gdata.data.Link getParentEntryLink()
Get the Parent ControlType entry link for this entry
public ControlTypeEntry getParentEntry() throws java.net.MalformedURLException, java.io.IOException, com.google.gdata.util.ServiceException
Get the Parent ControlType entry for this entry
java.io.IOException
com.google.gdata.util.ServiceException
java.net.MalformedURLException
public boolean isRequired()
public boolean isReadonly()
public java.util.List<ControlTypeEntry.Option> getOptions()
public boolean isCommentEnabled()
public java.lang.String getTypeId()
public ControlTypeEntry update() throws java.io.IOException, com.google.gdata.util.ServiceException
update
in class com.google.gdata.data.BaseEntry<ControlTypeEntry>
java.io.IOException
com.google.gdata.util.ServiceException
public void delete() throws java.io.IOException, com.google.gdata.util.ServiceException
delete
in class com.google.gdata.data.BaseEntry<ControlTypeEntry>
java.io.IOException
com.google.gdata.util.ServiceException
public <T extends com.google.gdata.data.Extension> T getExtension(java.lang.Class<T> extensionClass)
getExtension
in class com.google.gdata.data.ExtensionPoint
public void generate(com.google.gdata.util.common.xml.XmlWriter w, com.google.gdata.data.ExtensionProfile extProfile) throws java.io.IOException
generate
in interface com.google.gdata.data.Extension
generate
in class com.google.gdata.data.BaseEntry<ControlTypeEntry>
java.io.IOException
public com.google.gdata.util.XmlParser.ElementHandler getHandler(com.google.gdata.data.ExtensionProfile p, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
getHandler
in interface com.google.gdata.data.Extension
getHandler
in class com.google.gdata.data.BaseEntry<ControlTypeEntry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |