Package org.basex.util.options
Class Option<O>
java.lang.Object
org.basex.util.options.Option<O>
- Type Parameters:
O- option type
- Direct Known Subclasses:
BooleanOption,Comment,EnumOption,FuncOption,NumberOption,NumbersOption,OptionsOption,StringOption,StringsOption
Single option, stored in
Options instances.- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Method Summary
-
Method Details
-
name
Returns the name of the option.- Returns:
- name
-
value
Returns the default value.- Returns:
- default value
-
copy
Copies mutable default values. Otherwise, returns the existing instance.- Returns:
- default value
-
toString
-
arg
Returns a string representation of the option with the specified argument.- Parameters:
arg- argument- Returns:
- string representation
-