Class AppCollection
- All Implemented Interfaces:
Serializable
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* ) }
- Version:
- $Revision: 1 $
- Author:
- Kurt Stam
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the accept property.getAny()
Gets the value of the any property.Gets the value of the categories property.getHref()
Gets the value of the href property.getTitle()
Gets the value of the title property.void
Sets the value of the href property.void
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
-
Field Details
-
href
-
title
-
accept
-
categories
-
any
-
-
Constructor Details
-
AppCollection
public AppCollection() -
AppCollection
-
-
Method Details
-
getTitle
-
setTitle
-
getAccept
Gets the value of the accept property.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
- Returns:
- list of
AppAccept
-
getCategories
Gets the value of the categories property.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
AppCategories
- Returns:
- list of
AppCategories
-
getAny
Gets the value of the any property.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
- Returns:
- list of objects
-
getHref
-
setHref
-