org.apache.webdav.lib.methods
Class XMLResponseMethodBase.GetLastModifiedPropertyImpl

java.lang.Object
  |
  +--org.apache.webdav.lib.methods.XMLResponseMethodBase.PropertyImpl
        |
        +--org.apache.webdav.lib.methods.XMLResponseMethodBase.GetLastModifiedPropertyImpl
All Implemented Interfaces:
GetLastModifiedProperty, Property
Enclosing class:
XMLResponseMethodBase

static class XMLResponseMethodBase.GetLastModifiedPropertyImpl
extends XMLResponseMethodBase.PropertyImpl
implements GetLastModifiedProperty

This represents a DAV:getlastmodified property. It provides some convenience methods for working with the property.


Field Summary
protected  java.text.DateFormat format
           
 
Fields inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase.PropertyImpl
element, response
 
Fields inherited from interface org.apache.webdav.lib.properties.GetLastModifiedProperty
DATE_FORMAT, TAG_NAME
 
Constructor Summary
(package private) XMLResponseMethodBase.GetLastModifiedPropertyImpl(XMLResponseMethodBase.Response response, org.w3c.dom.Element element)
           
 
Method Summary
 java.util.Date getDate()
          Get the date of the last modification.
protected  java.text.DateFormat getDateFormat()
           
 
Methods inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase.PropertyImpl
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getPropertyAsString, getStatusCode, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.webdav.lib.Property
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getPropertyAsString, getStatusCode
 

Field Detail

format

protected java.text.DateFormat format
Constructor Detail

XMLResponseMethodBase.GetLastModifiedPropertyImpl

XMLResponseMethodBase.GetLastModifiedPropertyImpl(XMLResponseMethodBase.Response response,
                                                  org.w3c.dom.Element element)
Method Detail

getDate

public java.util.Date getDate()
Description copied from interface: GetLastModifiedProperty
Get the date of the last modification.
Specified by:
getDate in interface GetLastModifiedProperty

getDateFormat

protected java.text.DateFormat getDateFormat()