|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.tool.codegen.OptionSet
An OptionSet is a utility class for working with GeneratorOptions
Field Summary | |
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 |
public static java.util.ResourceBundle res
Constructor Detail |
public OptionSet()
Method Detail |
public GeneratorOption lookup(java.lang.String name) throws GeneratorException
GeneratorException
- Thrown if the no GeneratorOption exists in the current set with
the specified name.public void delete(java.lang.String name) throws GeneratorException
GeneratorException
- Thrown if the no GeneratorOption exists in the current set with
the specified name.public void add(GeneratorOption newOp) throws GeneratorException
GeneratorException
- Thrown if the no GeneratorOption exists in the current set with
the specified name.public GeneratorOption[] toArray()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |