org.apache.wink.webdav.model
Class Propstat

java.lang.Object
  extended by org.apache.wink.webdav.model.Propstat

public class Propstat
extends java.lang.Object

The propstat XML element per the WebDAV specification [RFC 4918]

    Name:       propstat
    Namespace:  DAV:
    Purpose:    Groups together a prop and status element that is
    associated with a particular href element.
    Description: The propstat XML element MUST contain one prop XML
    element and one status XML element.  The contents of the prop XML
    element MUST only list the names of properties to which the result in
    the status element applies.
 
    <!ELEMENT propstat (prop, status, responsedescription?) >
 


Field Summary
protected  Error error
           
protected  Prop prop
           
protected  java.lang.String responsedescription
           
protected  java.lang.String status
           
 
Constructor Summary
Propstat()
           
 
Method Summary
 Error getError()
          Gets the value of the error property.
 Prop getProp()
          Gets the value of the prop property.
 java.lang.String getResponsedescription()
          Gets the value of the responsedescription property.
 java.lang.String getStatus()
          Gets the value of the status property.
 int getStatusCode()
           
 void setError(Error value)
          Sets the value of the error property.
 void setProp(Prop value)
          Sets the value of the prop property.
 void setResponsedescription(java.lang.String value)
          Sets the value of the responsedescription property.
 void setStatus(java.lang.String value)
          Sets the value of the status property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prop

protected Prop prop

status

protected java.lang.String status

error

protected Error error

responsedescription

protected java.lang.String responsedescription
Constructor Detail

Propstat

public Propstat()
Method Detail

getProp

public Prop getProp()
Gets the value of the prop property.

Returns:
possible object is Prop

setProp

public void setProp(Prop value)
Sets the value of the prop property.

Parameters:
value - allowed object is Prop

getStatus

public java.lang.String getStatus()
Gets the value of the status property.

Returns:
possible object is String

getStatusCode

public int getStatusCode()

setStatus

public void setStatus(java.lang.String value)
Sets the value of the status property.

Parameters:
value - allowed object is String

getError

public Error getError()
Gets the value of the error property.

Returns:
possible object is Error

setError

public void setError(Error value)
Sets the value of the error property.

Parameters:
value - allowed object is Error

getResponsedescription

public java.lang.String getResponsedescription()
Gets the value of the responsedescription property.

Returns:
possible object is String

setResponsedescription

public void setResponsedescription(java.lang.String value)
Sets the value of the responsedescription property.

Parameters:
value - allowed object is String


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.