1 /*
2 * Copyright (c) 2006-2007 Creative Sphere Limited.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *
10 * Creative Sphere - initial API and implementation
11 *
12 */
13 package org.abstracthorizon.danube.webdav.util;
14
15 import org.abstracthorizon.danube.http.HTTPConnection;
16 import org.abstracthorizon.danube.webdav.ResourceAdapter;
17
18 /**
19 * Interface defining a renderer of a collection of resources
20 *
21 * @author Daniel Sendula
22 */
23 public interface CollectionHTMLRenderer {
24
25 /**
26 * Render a resource
27 * @param httpConnection connection
28 * @param adapter resource adapter
29 * @param collection collection resource
30 */
31 void render(HTTPConnection httpConnection, ResourceAdapter adapter, Object collection);
32 }