|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.sardine.model.Response
public class Response
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 |
---|
protected java.util.List<java.lang.String> href
protected java.lang.String status
protected java.util.List<Propstat> propstat
protected Error error
protected java.lang.String responsedescription
Constructor Detail |
---|
public Response()
Method Detail |
---|
public java.util.List<java.lang.String> getHref()
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
public java.lang.String getStatus()
String
public void setStatus(java.lang.String value)
value
- allowed object is
String
public java.util.List<Propstat> getPropstat()
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
public Error getError()
Error
public void setError(Error value)
value
- allowed object is
Error
public java.lang.String getResponsedescription()
String
public void setResponsedescription(java.lang.String value)
value
- allowed object is
String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |