|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wink.common.model.atom.AtomCommonAttributes
org.apache.wink.common.model.app.AppWorkspace
public class AppWorkspace
The "app:workspace" Element Per RFC5023
The "app:workspace" Element
Workspaces are server-defined groups of Collections.
The "app:workspace" element contains zero or more app:collection elements
describing the Collections of Resources available for editing.
appWorkspace =
element app:workspace {
appCommonAttributes,
( atomTitle
& appCollection*
& extensionSansTitleElement* )
}
atomTitle = element atom:title { atomTextConstruct }
o The "atom:title" Element
The app:workspace element MUST contain one "atom:title" element (as
defined in [RFC4287]), giving a human-readable title for the
Workspace.
| Field Summary | |
|---|---|
protected java.util.List<org.w3c.dom.Element> |
any
|
protected java.util.List<AppCollection> |
collection
|
protected AtomText |
title
|
| Fields inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes |
|---|
base, lang |
| Constructor Summary | |
|---|---|
AppWorkspace()
|
|
| Method Summary | |
|---|---|
java.util.List<org.w3c.dom.Element> |
getAny()
Gets extension elements. |
java.util.List<AppCollection> |
getCollection()
Gets the collections. |
AppCollection |
getCollection(java.lang.String name)
|
AtomText |
getTitle()
Gets the value of title. |
void |
setTitle(AtomText value)
Sets the value of title. |
| Methods inherited from class org.apache.wink.common.model.atom.AtomCommonAttributes |
|---|
getBase, getLang, getOtherAttributes, setBase, setLang, toSynd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AtomText title
protected java.util.List<AppCollection> collection
protected java.util.List<org.w3c.dom.Element> any
| Constructor Detail |
|---|
public AppWorkspace()
| Method Detail |
|---|
public AtomText getTitle()
public void setTitle(AtomText value)
public java.util.List<AppCollection> getCollection()
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
set method for the collection.
For example, to add a new item, do as follows:
getCollection().add(newItem);
Objects of the following type(s) are allowed in the list
AppCollection
public AppCollection getCollection(java.lang.String name)
public java.util.List<org.w3c.dom.Element> getAny()
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
set method for the any.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||