Class Owner

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

public class Owner
extends Object

The owner XML element per the WebDAV specification [RFC 4918]

    Name:       owner
    Namespace:  DAV:
    Purpose:    Provides information about the principal taking out a
    Description: The owner XML element provides information sufficient
    for either directly contacting a principal (such as a telephone
    number or Email URI), or for discovering the principal (such as the
    URL of a homepage) who owns a lock.
    <!ELEMENT owner ANY>

Field Summary
protected  List<Object> content
Constructor Summary
Method Summary
 List<Object> getContent()
          Gets the value of the content property.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected List<Object> content
Constructor Detail


public Owner()
Method Detail


public List<Object> getContent()
Gets the value of the content 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 content property.

For example, to add a new item, do as follows:


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

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