01: /*
02: * Created on Jun 19, 2004
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package org.xdev.base.descriptor;
08:
09: import java.util.HashMap;
10:
11: import java.io.File;
12:
13: import org.xdev.base.core.ITypeDescriptor;
14: import org.xdev.base.core.compiler.type.AbstractType;
15: import org.xdev.base.core.object.Configuration;
16:
17: public abstract class AbstractMetaDataDescriptor extends Configuration
18: implements ITypeDescriptor {
19:
20: /**
21: *
22: */
23: public AbstractMetaDataDescriptor(String id, HashMap properties) {
24:
25: super (id, properties);
26: // TODO Auto-generated constructor stub
27: }
28:
29: /* (non-Javadoc)
30: * @see org.xdev.base.core.ITypeDescriptor#listDescriptions()
31: */
32: public AbstractType[] listDescriptions() throws Exception {
33:
34: return this .parseDescriptions(this .getFileProperty("path"));
35: }
36:
37: protected abstract AbstractType[] parseDescriptions(File file)
38: throws Exception;
39:
40: }
|