|
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.common.ReplacementSet
ReplacementSet is a utility class for working with Replacement objects.
Constructor Summary | |
ReplacementSet()
Create an empty replacement set. |
|
ReplacementSet(Replacement[] reps)
|
Method Summary | |
void |
add(Replacement newRep)
Add a new generator replacement. |
void |
delete(java.lang.String find)
Remove the generator replacement that has the specified replacement name. |
Replacement |
lookup(java.lang.String find)
Get the generator replacement that has the specified replacement name. |
Replacement[] |
toArray()
Convert the option set into an array of individual GeneratorOption objects. |
java.lang.String[][] |
toStringArray()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReplacementSet()
public ReplacementSet(Replacement[] reps)
Method Detail |
public Replacement lookup(java.lang.String find) throws ToolException
ToolException
- Thrown if the no Replacement exists in the current set with
the specified name.public void delete(java.lang.String find) throws ToolException
GeneratorException
- Thrown if the no Replacement exists in the current set with
the specified find key.
ToolException
public void add(Replacement newRep) throws ToolException
GeneratorException
- Thrown if the no Generatorreplacement exists in the current set with
the specified name.
ToolException
public Replacement[] toArray()
public java.lang.String[][] toStringArray()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |