public boolean supports(Resource r) {
return (r instanceof PropPatchableResource);
}
public PropFindResponse setProperties( String href, ParseResult parseResult, Resource r ) {
PropPatchableResource ppr = (PropPatchableResource) r;
Fields fields = helper.buildFields(parseResult);
ppr.setProperties( fields );
List<PropFindResponse> list = helper.buildResult(href, parseResult);
return list.get(0);
}