org.apache.wink.webdav.model
Class Owner
java.lang.Object
org.apache.wink.webdav.model.Owner
public class Owner
- extends java.lang.Object
The owner
XML element per the WebDAV specification [RFC 4918]
Name: owner
Namespace: DAV:
Purpose: Provides information about the principal taking out a
lock.
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 java.util.List<java.lang.Object> |
content
|
Constructor Summary |
Owner()
|
Method Summary |
java.util.List<java.lang.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 |
content
protected java.util.List<java.lang.Object> content
Owner
public Owner()
getContent
public java.util.List<java.lang.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:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list Object
String
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.