org.abstracthorizon.danube.webdav.xml.dav.response
Class Propstat

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

public class Propstat
extends Object
implements XMLRenderer

This class models WebDAV's propstat response tag

Author:
Daniel Sendula

Field Summary
protected  ResponseProp prop
          Request property
protected  Response response
          Response this propstat belongs to
protected  ResponseDescription responsedescription
          Response description
protected  Status status
          Status
static String TAG_NAME
          Tag name
 
Constructor Summary
Propstat(Response response)
          Constructor
 
Method Summary
 ResponseProp getProp()
          Returns response prop
 ResponseDescription getResponsedescription()
          Returns response description
 Status getStatus()
          Returns status
 void render(PrintWriter writer, NamespacesProvider provider)
          Renders the tag
 void setResponsedescription(ResponseDescription responsedescription)
          Sets response description
 void setStatus(Status status)
          Sets status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Tag name

See Also:
Constant Field Values

response

protected Response response
Response this propstat belongs to


prop

protected ResponseProp prop
Request property


status

protected Status status
Status


responsedescription

protected ResponseDescription responsedescription
Response description

Constructor Detail

Propstat

public Propstat(Response response)
Constructor

Parameters:
response - response
Method Detail

getProp

public ResponseProp getProp()
Returns response prop

Returns:
response prop

getResponsedescription

public ResponseDescription getResponsedescription()
Returns response description

Returns:
response description

setResponsedescription

public void setResponsedescription(ResponseDescription responsedescription)
Sets response description

Parameters:
responsedescription - response description

getStatus

public Status getStatus()
Returns status

Returns:
status

setStatus

public void setStatus(Status status)
Sets status

Parameters:
status - status

render

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

Specified by:
render in interface XMLRenderer
Parameters:
writer - writer
provider - namespace provider


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