org.apache.webdav.lib.properties

Class DateProperty

Implemented Interfaces:
Property
Known Direct Subclasses:
CreationDateProperty, GetLastModifiedProperty, ModificationDateProperty

public abstract class DateProperty
extends BaseProperty

Base for all properties that contain date values.

Field Summary

Fields inherited from class org.apache.webdav.lib.BaseProperty

element, response

Constructor Summary

DateProperty(ResponseEntity response, Element element)
Default constructor for the property.

Method Summary

Date
getDate()
Returns the date value.

Methods inherited from class org.apache.webdav.lib.BaseProperty

getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getPropertyAsString, getStatusCode, toString

Constructor Details

DateProperty

public DateProperty(ResponseEntity response,
                    Element element)
Default constructor for the property.

Method Details

getDate

public Date getDate()
Returns the date value.