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.request
Class PropPatchRequest

java.lang.Object
  extended by org.torweg.pulse.webdav.request.PropPatchRequest

public final class PropPatchRequest
extends java.lang.Object

represents PROPPATCH request.

Version:
$Revision: 1523 $
Author:
Thomas Weber

Nested Class Summary
static class PropPatchRequest.OperationType
          defines the operation types of the PROPPATCH request.
static class PropPatchRequest.PropPatchOperation
          a single PROPPATCH operation.
 
Constructor Summary
PropPatchRequest(java.io.InputStream in, java.net.URI resource)
          creates a new PropPatchRequest.
 
Method Summary
 java.util.List<PropPatchRequest.PropPatchOperation> getOperations()
          returns an unmodifiable view of the PROPPATCH operations.
 java.net.URI getResourceURI()
          returns the URI of the resource to be patched.
 java.lang.String toString()
          returns a string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropPatchRequest

public PropPatchRequest(java.io.InputStream in,
                        java.net.URI resource)
creates a new PropPatchRequest.

Parameters:
in - the input stream to parse the XML from
resource - the URI of the resource to be patched
Method Detail

getOperations

public java.util.List<PropPatchRequest.PropPatchOperation> getOperations()
returns an unmodifiable view of the PROPPATCH operations.

Returns:
an unmodifiable view of the PROPPATCH operations

getResourceURI

public java.net.URI getResourceURI()
returns the URI of the resource to be patched.

Returns:
the URI of the resource to be patched

toString

public java.lang.String toString()
returns a string representation.

Overrides:
toString in class java.lang.Object
Returns:
a string representation