Xindice API
version 1.2m1

org.apache.xindice.webadmin.webdav.components.props
Class LastModified

java.lang.Object
  extended byorg.apache.xindice.webadmin.webdav.components.props.LastModified
All Implemented Interfaces:
DAVProperty

public class LastModified
extends Object
implements DAVProperty

LastModified creates a response node that contains the time when resource was last modified in the format "EEE, dd MMM yyyy HH:mm:ss zzz" if last modification time is available.

See SimpleDateFormat for date format information.

Example:

 <getlastmodified>
     Wednesday, 9 May 2007 09:22:00 GMT
 </getlastmodified>
 

Version:
$Revision: 541515 $, $Date: 2007-05-24 22:45:06 -0400 (Thu, 24 May 2007) $

Constructor Summary
LastModified()
           
 
Method Summary
 String getName()
          Returns property name
 PartialResponse.Content getProperty(Collection col)
          Builds a property content tree for collection.
 PartialResponse.Content getProperty(Entry entry)
          Builds a property content tree for collection entry.
 PartialResponse.Content getRootProperty()
          Builds a property content tree for the root node ("/").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LastModified

public LastModified()
Method Detail

getName

public String getName()
Description copied from interface: DAVProperty
Returns property name

Specified by:
getName in interface DAVProperty
Returns:
property name

getRootProperty

public PartialResponse.Content getRootProperty()
Description copied from interface: DAVProperty
Builds a property content tree for the root node ("/").

Specified by:
getRootProperty in interface DAVProperty
Returns:
Property content tree or null, if property is not applicable.

getProperty

public PartialResponse.Content getProperty(Collection col)
Description copied from interface: DAVProperty
Builds a property content tree for collection.

Specified by:
getProperty in interface DAVProperty
Parameters:
col - Collection
Returns:
Property content tree or null, if property is not applicable.

getProperty

public PartialResponse.Content getProperty(Entry entry)
Description copied from interface: DAVProperty
Builds a property content tree for collection entry.

Specified by:
getProperty in interface DAVProperty
Parameters:
entry - Collection entry
Returns:
Property content tree or null, if property is not applicable.

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.