pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.webdav.util
Class PropPatchResponseElement

java.lang.Object
  extended by org.torweg.pulse.webdav.util.AbstractResponseElement
      extended by org.torweg.pulse.webdav.util.PropPatchResponseElement
All Implemented Interfaces:
IMultiStatusElement

public class PropPatchResponseElement
extends AbstractResponseElement

Version:
$Revision: 1435 $
Author:
Thomas Weber

Constructor Summary
PropPatchResponseElement(PropPatchRequest r, boolean s, PropPatchRequest.PropPatchOperation f, java.lang.String m)
          creates a new PropFindResponseElement for the given URI.
 
Method Summary
 java.net.URI getHref()
          returns the href the reponse element is for.
 org.jdom.Element getXML()
          creates the complete PROPPATCH response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropPatchResponseElement

public PropPatchResponseElement(PropPatchRequest r,
                                boolean s, PropPatchRequest.PropPatchOperation f,
                                java.lang.String m)
creates a new PropFindResponseElement for the given URI.

Parameters:
r - the PROPPATCH request
s - the success flag
f - the optional failing operation
m - the optional error message
Method Detail

getHref

public final java.net.URI getHref()
returns the href the reponse element is for.

Specified by:
getHref in interface IMultiStatusElement
Specified by:
getHref in class AbstractResponseElement
Returns:
the href

getXML

public org.jdom.Element getXML()
creates the complete PROPPATCH response.

Specified by:
getXML in interface IMultiStatusElement
Overrides:
getXML in class AbstractResponseElement
Returns:
the XML for the PROPPATCH response
See Also:
AbstractResponseElement.getXML()