com.googlecode.sardine.model
Class Response

java.lang.Object
  extended by com.googlecode.sardine.model.Response

public class Response
extends java.lang.Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{DAV:}href" maxOccurs="unbounded"/>
         <choice>
           <sequence>
             <element ref="{DAV:}status"/>
           </sequence>
           <sequence>
             <element ref="{DAV:}propstat" maxOccurs="unbounded"/>
           </sequence>
         </choice>
         <element ref="{DAV:}error" minOccurs="0"/>
         <element ref="{DAV:}responsedescription" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Error error
           
protected  java.util.List<java.lang.String> href
           
protected  java.util.List<Propstat> propstat
           
protected  java.lang.String responsedescription
           
protected  java.lang.String status
           
 
Constructor Summary
Response()
           
 
Method Summary
 Error getError()
          Gets the value of the error property.
 java.util.List<java.lang.String> getHref()
          Gets the value of the href property.
 java.util.List<Propstat> getPropstat()
          Gets the value of the propstat property.
 java.lang.String getResponsedescription()
          Gets the value of the responsedescription property.
 java.lang.String getStatus()
          Gets the value of the status property.
 void setError(Error value)
          Sets the value of the error 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

href

protected java.util.List<java.lang.String> href

status

protected java.lang.String status

propstat

protected java.util.List<Propstat> propstat

error

protected Error error

responsedescription

protected java.lang.String responsedescription
Constructor Detail

Response

public Response()
Method Detail

getHref

public java.util.List<java.lang.String> getHref()
Gets the value of the href property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the href property.

For example, to add a new item, do as follows:

    getHref().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getStatus

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

Returns:
possible object is String

setStatus

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

Parameters:
value - allowed object is String

getPropstat

public java.util.List<Propstat> getPropstat()
Gets the value of the propstat property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the propstat property.

For example, to add a new item, do as follows:

    getPropstat().add(newItem);
 

Objects of the following type(s) are allowed in the list Propstat


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 © 2010 Jon Stevens and a gang of smelly fish. All Rights Reserved. Build version: 39