01: // EmptyDescription.java
02: // $Id: EmptyDescription.java,v 1.3 2000/08/16 21:37:54 ylafon Exp $
03: // (c) COPYRIGHT MIT, INRIA and Keio, 1999.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05: package org.w3c.tools.resources.serialization;
06:
07: /**
08: * @version $Revision: 1.3 $
09: * @author Benoît Mahé (bmahe@w3.org)
10: */
11: public class EmptyDescription extends ResourceDescription {
12:
13: /**
14: * Constructor. build the description as an empty description
15: * only classname and identifeir are provided.
16: * @param classname the resource class name
17: */
18: public EmptyDescription(String classname, String identifier) {
19: super(classname);
20: this.identifier = identifier;
21: this.classes = null;
22: this.attributes = null;
23: }
24:
25: }
|