org.apache.webdav.lib.properties
Class HrefValuedProperty
- Property
public class HrefValuedProperty
Base classe for properties with a single href
value.
String | getHref() - Returns the value of the href element.
|
String | getPropertyAsString() - This method returns the value of the property.
|
String | toString() - Get a String representation of the property.
|
HrefValuedProperty
public HrefValuedProperty(ResponseEntity response,
Element element)
Default constructor for the property.
getHref
public String getHref()
Returns the value of the href element.
getPropertyAsString
public String getPropertyAsString()
This method returns the value of the property. Thus, for example,
calling this method on a property such as
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified>
returns
Tue, 05 Dec 2000 05:25:02
.
Note: Mixed content (text and xml together) will not be returned
accurately.
- getPropertyAsString in interface Property
- getPropertyAsString in interface BaseProperty
toString
public String toString()
Get a String representation of the property.
- toString in interface BaseProperty