be.re.webdav
Interface Util.PropertyHandler

Enclosing class:
Util

public static interface Util.PropertyHandler

This is for handling all properties in a multistatus response one by one.

Author:
Werner Donné
See Also:
Util.readPropertyList(java.net.URL, be.re.webdav.Client.Response, be.re.webdav.Util.PropertyHandler, boolean)

Method Summary
 boolean handle(URL href, Element[] properties, int statusCode)
          This method is called for property groups in the same multistatus response entry with the same status code.
 

Method Detail

handle

boolean handle(URL href,
               Element[] properties,
               int statusCode)
               throws IOException
This method is called for property groups in the same multistatus response entry with the same status code.

Parameters:
href - the resource in the multistatus response entry.
properties - the properties in the multistatus response entry. Each element in the array is the contents of a prop element.
statusCode - the status code for the given properties.
Returns:
To stop processing false should be returned.
Throws:
IOException