|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.webdav.model.Link
public class Link
The link
XML element per the WebDAV specification [RFC 4918]
Name: link Namespace: DAV: Purpose: Identifies the property as a link and contains the source and destination of that link. Description: The link XML element is used to provide the sources and destinations of a link. The name of the property containing the link XML element provides the type of the link. Link is a multi-valued element, so multiple links may be used together to indicate multiple links with the same type. The values in the href XML elements inside the src and dst XML elements of the link XML element MUST NOT be rejected if they point to resources which do not exist. <!ELEMENT link (src+, dst+) >
Field Summary | |
---|---|
protected java.util.List<java.lang.String> |
dst
|
protected java.util.List<java.lang.String> |
src
|
Constructor Summary | |
---|---|
Link()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDst()
Gets the value of the dst property. |
java.util.List<java.lang.String> |
getSrc()
Gets the value of the src property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.String> src
protected java.util.List<java.lang.String> dst
Constructor Detail |
---|
public Link()
Method Detail |
---|
public java.util.List<java.lang.String> getSrc()
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 src property.
For example, to add a new item, do as follows:
getSrc().add(newItem);
Objects of the following type(s) are allowed in the list String
public java.util.List<java.lang.String> getDst()
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 dst property.
For example, to add a new item, do as follows:
getDst().add(newItem);
Objects of the following type(s) are allowed in the list String
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |