Package | Description |
---|---|
org.basex.core.cmd |
Database commands.
|
org.basex.gui |
GUI Package.
|
org.basex.query.expr |
XQuery expressions.
|
org.basex.query.up.primitives | |
org.basex.util.options |
Constructor and Description |
---|
Get(Option<?> option)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends Option<V>,V> |
GUI.set(T opt,
V val)
Sets an option if its value differs from current value and displays the command in the info
view.
|
Constructor and Description |
---|
DBPragma(QNm n,
Option<?> o,
byte[] v)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
static Option<?>[] |
DBOptions.INDEXING
Indexing options.
|
static Option<?>[] |
DBOptions.PARSING
Parsing options.
|
Modifier and Type | Method and Description |
---|---|
void |
DBOptions.assign(Option<?> option,
Object value)
Assigns the specified option if it has not been assigned before.
|
Constructor and Description |
---|
DBOptions(Options options,
Option<?>[] supported,
InputInfo info)
Constructor.
|
Constructor and Description |
---|
DBOptions(Options options,
List<Option<?>> supported,
InputInfo info)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanOption
Option containing a boolean value.
|
class |
Comment
Comment.
|
class |
EnumOption<V extends Enum<V>>
Option containing an enumeration value.
|
class |
NumberOption
Option containing an integer value.
|
class |
NumbersOption
Option containing an integer array value.
|
class |
OptionsOption<O extends Options>
Option containing another
Options value. |
class |
StringOption
Option containing a string value.
|
class |
StringsOption
Option containing an strings array value.
|
Modifier and Type | Field and Description |
---|---|
protected TreeMap<String,Option<?>> |
Options.options
Map with option names and definition.
|
Modifier and Type | Method and Description |
---|---|
Option<?> |
Options.option(String name)
Returns the option with the specified name.
|
static Option<?>[] |
Options.options(Class<? extends Options> clz)
Returns all options from the specified class.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Option<?>> |
Options.iterator() |
Modifier and Type | Method and Description |
---|---|
static String |
Options.allowed(Option<?> option,
Object... all)
Returns a list of allowed keys.
|
boolean |
Options.contains(Option<?> option)
Checks if a value was set for the specified option.
|
Object |
Options.get(Option<?> option)
Returns the value of the specified option.
|
static String |
Options.getSystem(Option<?> option)
Returns a system property.
|
void |
Options.put(Option<?> option,
Object value)
Sets an option to a value without checking its type.
|
static void |
Options.setSystem(Option<?> option,
Object val)
Sets a system property if it has not been set before.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.