|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.webdav.model.Resourcetype
public class Resourcetype
The resourcetype
Property per the WebDAV specification [RFC
4918]
Name: resourcetype Namespace: DAV: Purpose: Specifies the nature of the resource. Description: The resourcetype property MUST be defined on all DAV compliant resources. The default value is empty. <!ELEMENT resourcetype ANY >
Field Summary | |
---|---|
protected List<Element> |
any
|
protected Collection |
collection
|
Constructor Summary | |
---|---|
Resourcetype()
|
Method Summary | |
---|---|
List<Element> |
getAny()
Gets the value of the any property. |
Collection |
getCollection()
Gets the value of the collection property. |
void |
setCollection(Collection value)
Sets the value of the collection property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Collection collection
protected List<Element> any
Constructor Detail |
---|
public Resourcetype()
Method Detail |
---|
public Collection getCollection()
Collection
public void setCollection(Collection value)
value
- allowed object is Collection
public List<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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |