Package org.apache.webdav.lib.properties
Class HrefValuedProperty
java.lang.Object
org.apache.webdav.lib.BaseProperty
org.apache.webdav.lib.properties.HrefValuedProperty
- All Implemented Interfaces:
Property
- Direct Known Subclasses:
CheckedinProperty
,CheckedoutProperty
,OwnerProperty
Base classe for properties with a single
href
value.-
Field Summary
Fields inherited from class org.apache.webdav.lib.BaseProperty
element, response
-
Constructor Summary
ConstructorsConstructorDescriptionHrefValuedProperty
(ResponseEntity response, Element element) Default constructor for the property. -
Method Summary
Methods inherited from class org.apache.webdav.lib.BaseProperty
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getStatusCode
-
Constructor Details
-
HrefValuedProperty
Default constructor for the property.
-
-
Method Details
-
getHref
Returns the value of the href element. -
getPropertyAsString
Description copied from class:BaseProperty
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>
returnsTue, 05 Dec 2000 05:25:02
.
Note: Mixed content (text and xml together) will not be returned accurately.- Specified by:
getPropertyAsString
in interfaceProperty
- Overrides:
getPropertyAsString
in classBaseProperty
-
toString
Description copied from class:BaseProperty
Get a String representation of the property.- Overrides:
toString
in classBaseProperty
-