|
||||||||||
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.Source
com.google.gdata.data.BaseFeed<F,E>
com.google.gdata.data.media.MediaFeed<SchemaFeed,SchemaEntry>
com.frevvo.forms.client.SchemaFeed
public class SchemaFeed
This feed contains a list of SchemaEntry
's and can be used to
create new SchemaEntry
's.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseFeed |
---|
com.google.gdata.data.BaseFeed.FeedHandler, com.google.gdata.data.BaseFeed.FeedState |
Nested classes/interfaces inherited from class com.google.gdata.data.Source |
---|
com.google.gdata.data.Source.SourceHandler, com.google.gdata.data.Source.SourceState |
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 |
SCHEMAS_FEED_URL_FORMAT
|
Fields inherited from class com.google.gdata.data.BaseFeed |
---|
entries, entryClass, feedState |
Fields inherited from class com.google.gdata.data.Source |
---|
srcState |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
SchemaFeed()
Constructs a new Feed instance |
Method Summary | ||
---|---|---|
SchemaEntry |
createEntry()
|
|
SchemaEntry |
createEntry(ApplicationEntry appEntry)
Create a new SchemaEntry using the given ApplicationEntry as the owner. |
|
com.google.gdata.data.Link |
getEntryPostLink()
|
|
static java.net.URL |
getFeedURL(java.net.URL baseUrl)
Gets an URL for accessing the Schema feed |
|
ApplicationEntry |
getOwnerEntry()
Get the ApplicationEntry that owns this feed. |
|
java.lang.String |
getOwnerId()
Get the application id that owns this feed. |
|
|
insert(T arg0)
|
Methods inherited from class com.google.gdata.data.media.MediaFeed |
---|
insert, insert, setService |
Methods inherited from class com.google.gdata.data.BaseFeed |
---|
addAdaptor, declareExtensions, generate, generateAtom, generateFeedEnd, generateFeedStart, generateRss, getAdaptedFeed, getAdaptor, getAdaptors, getCanPost, getEntries, getEntries, getEtag, getFeedBatchLink, getHandler, getItemsPerPage, getKind, getNextLink, getPreviousLink, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, getVersionId, parseAtom, parseAtom, parseAtom, readFeed, readFeed, setCanPost, setEntries, setEtag, setItemsPerPage, setKind, setStartIndex, setTotalResults, setVersionId, visitChildren |
Methods inherited from class com.google.gdata.data.Source |
---|
addHtmlLink, addLink, generateInnerAtom, getAuthors, getCategories, getContributors, getHtmlLink, getIcon, getId, getLinks, getLinks, getLogo, getRights, getUpdated, removeLinks, removeLinks, setGenerator, setIcon, setId, setLogo, setRights, setSubtitle, setTitle, setUpdated |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, 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 |
Methods inherited from interface com.google.gdata.data.IFeed |
---|
getLogo, setLogo |
Methods inherited from interface com.google.gdata.data.IAtom |
---|
getAuthors, getCategories, getId, getLinks, getUpdated, removeLinks, removeLinks, setId, setUpdated |
Field Detail |
---|
public static final java.lang.String SCHEMAS_FEED_URL_FORMAT
Constructor Detail |
---|
public SchemaFeed()
Method Detail |
---|
public static java.net.URL getFeedURL(java.net.URL baseUrl) throws java.net.MalformedURLException
java.net.MalformedURLException
public com.google.gdata.data.Link getEntryPostLink()
getEntryPostLink
in interface com.google.gdata.data.IFeed
getEntryPostLink
in class com.google.gdata.data.BaseFeed<SchemaFeed,SchemaEntry>
public java.lang.String getOwnerId()
Get the application id that owns this feed.
You can use the ownerId to get the ApplicationEntry associated with this SchemaFeed.
public ApplicationEntry getOwnerEntry()
Get the ApplicationEntry that owns this feed.
This method differs from the getOwnerId()
method in that it
returns the associated ApplicationEntry
as opposed to
returning the ownerId.
com.google.gdata.util.ServiceException
java.io.IOException
public SchemaEntry createEntry()
createEntry
in interface com.google.gdata.data.IFeed
createEntry
in class com.google.gdata.data.BaseFeed<SchemaFeed,SchemaEntry>
public SchemaEntry createEntry(ApplicationEntry appEntry)
Create a new SchemaEntry using the given ApplicationEntry as the owner.
You only need to use this method instead of the
createEntry()
when inserting a SchemaEntry into a global
ApplicationFeed, i.e. a feed without an ownerId.
appEntry
- The owner entry
public <T extends SchemaEntry> T insert(T arg0) throws com.google.gdata.util.ServiceException, java.io.IOException
insert
in class com.google.gdata.data.BaseFeed<SchemaFeed,SchemaEntry>
com.google.gdata.util.ServiceException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |