org.apache.wink.webdav.model
Class Error

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

public class Error
extends Object

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

    Name:       error
    Namespace:  DAV:
    Purpose:    Error responses, particularly 403 Forbidden and 409
    Conflict, sometimes need more information to indicate what went
    wrong.  In these cases, servers MAY return an XML response body
    with a document element of 'error', containing child elements
    identifying particular condition codes.
    Description: Contains at least one XML element, and MUST NOT
    contain text or mixed content.  Any element that is a child of the
    'error' element is considered to be a precondition or
    postcondition code.  Unrecognized elements MUST be ignored.
 
    <!ELEMENT error ANY >
 
 


Field Summary
protected  Object any
           
 
Constructor Summary
Error()
           
 
Method Summary
 Object getAny()
          Gets the value of the any property.
 void setAny(Object value)
          Sets the value of the any property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

protected Object any
Constructor Detail

Error

public Error()
Method Detail

getAny

public Object getAny()
Gets the value of the any property.

Returns:
possible object is Object

setAny

public void setAny(Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Object


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