|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.optgen.DefinitionFile
| Field Summary | |
private OptionDefinition[] |
definitions
|
private String |
implement
|
private String |
packageName
|
private String |
parent
|
private String |
prefix
|
static String |
selectionName
Denotes the structure name that the option is using to store the different selections for that option |
static String |
selectionType
Denotes the structure type that the option is using to store the different selections for that option |
private String |
sourceFile
|
static String |
structureName
Denotes the structure name that the option is using to store the data structrues that store the different selections for that option |
private String |
url
|
private String |
usage
|
private String |
version
|
| Constructor Summary | |
DefinitionFile(String sourceFile,
String packageName,
String parent,
String implement,
String prefix,
String version,
String usage,
String url,
ArrayList definitions)
Constructs a definition file |
|
| Method Summary | |
void |
checkIdentifiers(Hashtable identifiers)
Check for duplicate identifiers |
void |
checkShortcuts(Hashtable identifiers)
Check for duplicate identifiers |
String |
getClassName()
Returns the package name |
String |
getPackageName()
Returns the package name |
String |
getPrefix()
Returns the literal prefix |
void |
printFile(PrintWriter out)
Prints the token definition to interface file (java) |
static DefinitionFile |
read(String sourceFile)
Reads and parses an token definition file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final String sourceFile
private final String packageName
private final String parent
private final String implement
private final String prefix
private final String version
private final String usage
private final String url
private final OptionDefinition[] definitions
public static final String structureName
public static final String selectionType
public static final String selectionName
| Constructor Detail |
public DefinitionFile(String sourceFile,
String packageName,
String parent,
String implement,
String prefix,
String version,
String usage,
String url,
ArrayList definitions)
| Method Detail |
public static DefinitionFile read(String sourceFile)
throws OptgenError
sourceFile - the name of the source file
OptgenError
public void checkIdentifiers(Hashtable identifiers)
throws OptgenError
identifiers - a table of all token identifiers
OptgenError
public void checkShortcuts(Hashtable identifiers)
throws OptgenError
identifiers - a table of all token identifiers
OptgenErrorpublic void printFile(PrintWriter out)
out - the output streampublic String getClassName()
public String getPackageName()
public String getPrefix()
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||