org.abstracthorizon.danube.webdav.xml.dav.response.properties
Class GetETag

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
      extended by org.abstracthorizon.danube.webdav.xml.dav.response.properties.GetETag
All Implemented Interfaces:
XMLRenderer

public class GetETag
extends ResponseProperty

This class models WebDAV's getetag response tag

Author:
Daniel Sendula

Field Summary
protected  String eTag
          ETag
static String TAG_NAME
          Tag name
 
Fields inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
status
 
Constructor Summary
GetETag(Status status)
          Constructor
GetETag(String eTag)
          Constructor
 
Method Summary
 String getETag()
          Returns etag
 void render(PrintWriter writer, NamespacesProvider provider)
          Renders the tag
 String toString()
           
 
Methods inherited from class org.abstracthorizon.danube.webdav.xml.dav.response.properties.ResponseProperty
getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Tag name

See Also:
Constant Field Values

eTag

protected String eTag
ETag

Constructor Detail

GetETag

public GetETag(Status status)
Constructor

Parameters:
status - status

GetETag

public GetETag(String eTag)
Constructor

Parameters:
eTag - etag
Method Detail

getETag

public String getETag()
Returns etag

Returns:
etag

toString

public String toString()
Overrides:
toString in class Object

render

public void render(PrintWriter writer,
                   NamespacesProvider provider)
Renders the tag

Parameters:
writer - writer
provider - namespace provider


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.