|
|||||||||
| Home >> All >> org >> enhydra >> tool >> [ codegen overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.enhydra.tool.codegen
Class OptionSet

java.lang.Objectorg.enhydra.tool.codegen.OptionSet
- Direct Known Subclasses:
- AppOptionSet
- public class OptionSet
- extends java.lang.Object
An OptionSet is a utility class for working with GeneratorOptions
| Field Summary | |
private GeneratorOption[] |
options
|
(package private) static java.util.ResourceBundle |
res
|
| Constructor Summary | |
OptionSet()
Create an empty option set. |
|
| Method Summary | |
void |
add(GeneratorOption newOp)
Add a new generator option. |
void |
delete(java.lang.String name)
Remove the generator option that has the specified option name. |
GeneratorOption |
lookup(java.lang.String name)
Get the generator option that has the specified option name. |
GeneratorOption[] |
toArray()
Convert the option set into an array of individual GeneratorOption objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
res
static java.util.ResourceBundle res
options
private GeneratorOption[] options
| Constructor Detail |
OptionSet
public OptionSet()
- Create an empty option set.
| Method Detail |
lookup
public GeneratorOption lookup(java.lang.String name) throws GeneratorException
- Get the generator option that has the specified option name.
delete
public void delete(java.lang.String name) throws GeneratorException
- Remove the generator option that has the specified option name.
add
public void add(GeneratorOption newOp) throws GeneratorException
- Add a new generator option.
toArray
public GeneratorOption[] toArray()
- Convert the option set into an array of individual
GeneratorOption objects.
|
|||||||||
| Home >> All >> org >> enhydra >> tool >> [ codegen overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.enhydra.tool.codegen.OptionSet