|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Workspace
An Atom Publishing Protocol Introspection Document workspace element.
Per APP Draft-08
The "app:workspace" element contains information elements about the collections of resources available for editing. The app:workspace element MUST contain one or more app:collection elements. appWorkspace = element app:workspace { appCommonAttributes, ( atomTitle & appCollection* & extensionElement* ) }
Method Summary | |
---|---|
void |
addCollection(Collection collection)
Adds an individual collection to this workspace |
Collection |
addCollection(java.lang.String title,
java.lang.String href)
Adds an individual collection to this workspace |
Collection |
getCollection(java.lang.String title)
Returns the named collection |
java.util.List<Collection> |
getCollections()
Returns the full set of collections in this workspace |
java.lang.String |
getTitle()
Return the workspace title |
Text |
getTitleElement()
Return the atom:title |
Text |
setTitle(java.lang.String title)
Set the workspace title |
Text |
setTitleAsHtml(java.lang.String title)
Set the workspace title as escaped HTML |
Text |
setTitleAsXHtml(java.lang.String title)
Set the workspace title as XHTML |
Methods inherited from interface org.apache.abdera.model.ExtensibleElement |
---|
addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension |
Methods inherited from interface org.apache.abdera.model.Element |
---|
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText |
Methods inherited from interface org.apache.abdera.model.Base |
---|
addComment, clone, getFactory, writeTo, writeTo |
Method Detail |
---|
java.lang.String getTitle()
Text setTitle(java.lang.String title)
title
- The atom:title value
Text setTitleAsHtml(java.lang.String title)
title
- The atom:title value
Text setTitleAsXHtml(java.lang.String title)
title
- The atom:title value
Text getTitleElement()
java.util.List<Collection> getCollections()
Collection getCollection(java.lang.String title)
title
- A collection title
void addCollection(Collection collection)
collection
- The collection to addCollection addCollection(java.lang.String title, java.lang.String href) throws IRISyntaxException
title
- The collection titlehref
- The collection HREF
IRISyntaxException
- if the href is malformed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |