|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resteasy.plugins.providers.atom.app.AppCommonAttributes
org.jboss.resteasy.plugins.providers.atom.app.AppCollection
public class AppCollection
Per RFC5023:
The "app:collection" element describes a Collection. The app:
collection element MUST contain one atom:title element.
The app:collection element MAY contain any number of app:accept
elements, indicating the types of representations accepted by the
Collection. The order of such elements is not significant.
The app:collection element MAY contain any number of app:categories
elements.
appCollection =
element app:collection {
appCommonAttributes,
attribute href { atomURI },
( atomTitle
& appAccept*
& appCategories*
& extensionSansTitleElement* )
}
| Field Summary | |
|---|---|
protected List<AppAccept> |
accept
|
protected List<Object> |
any
|
protected List<AppCategories> |
categories
|
protected String |
href
|
protected String |
title
|
| Constructor Summary | |
|---|---|
AppCollection()
|
|
AppCollection(String href,
String title)
|
|
| Method Summary | |
|---|---|
List<AppAccept> |
getAccept()
Gets the value of the accept property. |
List<Object> |
getAny()
Gets the value of the any property. |
List<AppCategories> |
getCategories()
Gets the value of the categories property. |
String |
getHref()
Gets the value of the href property. |
String |
getTitle()
Gets the value of the title property. |
void |
setHref(String value)
Sets the value of the href property. |
void |
setTitle(String value)
Sets the value of the title property. |
| Methods inherited from class org.jboss.resteasy.plugins.providers.atom.app.AppCommonAttributes |
|---|
getBase, getLang, getOtherAttributes, getSpace, setBase, setLang, setSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String href
protected String title
protected List<AppAccept> accept
protected List<AppCategories> categories
protected List<Object> any
| Constructor Detail |
|---|
public AppCollection()
public AppCollection(String href,
String title)
| Method Detail |
|---|
public String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is Stringpublic List<AppAccept> getAccept()
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 accept property.
For example, to add a new item, do as follows:
getAccept().add(newItem);
Objects of the following type(s) are allowed in the list String
public List<AppCategories> getCategories()
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 categories property.
For example, to add a new item, do as follows:
getCategories().add(newItem);
Objects of the following type(s) are allowed in the list
AppCategoriesType
public List<Object> 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 property.
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
Object
public String getHref()
Stringpublic void setHref(String value)
value - allowed object is String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||