org.apache.wink.webdav.model
Class Locktoken
java.lang.Object
org.apache.wink.webdav.model.Locktoken
public class Locktoken
- extends java.lang.Object
The locktoken
XML element per the WebDAV specification [RFC
4918]
Name: locktoken
Namespace: DAV:
Purpose: The lock token associated with a lock.
Description: The href contains one or more opaque lock token URIs
which all refer to the same lock (i.e., the OpaqueLockToken-URI
production in section 6.4).
<!ELEMENT locktoken (href+) >
Field Summary |
protected java.util.List<java.lang.String> |
href
|
Method Summary |
java.util.List<java.lang.String> |
getHref()
Gets the value of the href property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
href
protected java.util.List<java.lang.String> href
Locktoken
public Locktoken()
getHref
public java.util.List<java.lang.String> getHref()
- Gets the value of the href 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 href property.
For example, to add a new item, do as follows:
getHref().add(newItem);
Objects of the following type(s) are allowed in the list String
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.