Class Locktoken

  extended by org.apache.wink.webdav.model.Locktoken

public class Locktoken
extends 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  List<String> href
Constructor Summary
Method Summary
 List<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

Field Detail


protected List<String> href
Constructor Detail


public Locktoken()
Method Detail


public List<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:


Objects of the following type(s) are allowed in the list String

Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.