01: // FilenameAttribute.java
02: // $Id: FilenameAttribute.java,v 1.4 2002/06/09 10:14:29 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.tools.resources;
07:
08: /**
09: * The generic description of a FilenameAttribute.
10: * A file name is a String, augmented with the fact that it should be a valid
11: * file name.
12: */
13:
14: public class FilenameAttribute extends StringAttribute {
15:
16: public FilenameAttribute(String name, Object def, int flags) {
17: super (name, (String) def, flags);
18: this .type = "java.lang.String".intern();
19: }
20:
21: public FilenameAttribute() {
22: super();
23: }
24:
25: }
|