01: // RemoteResourceFactory.java
02: // $Id: RemoteResourceFactory.java,v 1.7 2000/08/16 21:37:34 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1997.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.jigsaw.admin;
07:
08: import java.net.URL;
09:
10: import org.w3c.tools.resources.serialization.ResourceDescription;
11:
12: public class RemoteResourceFactory {
13: AdminContext admin = null;
14:
15: public RemoteResource createRemoteResource(URL parent,
16: String identifier, ResourceDescription descr) {
17: return new PlainRemoteResource(admin, parent, identifier, descr);
18: }
19:
20: RemoteResourceFactory(AdminContext admin) {
21: this.admin = admin;
22: }
23:
24: }
|