org.enhydra.xml.xmlc.commands.options
Class OptionSet
java.lang.Object
|
+--org.enhydra.xml.xmlc.commands.options.OptionSet
- public class OptionSet
- extends Object
Class that contains a set of XMLC options.
- See Also:
Option
,
OptionsParser
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptionSet
public OptionSet()
addOption
public void addOption(Option opt)
- Add an option to the options set.
getOptions
public Iterator getOptions()
- Get an enumeration of all options in the set.
getOptionsMsg
public String getOptionsMsg()
- Get displayable string of valid options for use in error messages.
findOption
public Option findOption(String name)
- Lookup an option.
- Parameters:
name
- The option name, including the leading `-'.- Returns:
- The Option object or null if name is not found.
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.