public class QVTParsingOptions extends Object
Modifier and Type | Field and Description |
---|---|
static Option<Boolean> |
ENABLE_CSTMODEL_TOKENS |
static Option<Boolean> |
ENFORCE_EXPLICIT_SELF_VARIABLE |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getValue(Environment<?,?,?,?,?,?,?,?,?,?,?,?> env,
Option<T> option)
Obtains the value of the specified option's setting in the the given
environment's options map, adapting the environment as necessary to the
Customizable API. |
static <T> void |
setOption(Environment<?,?,?,?,?,?,?,?,?,?,?,?> env,
Option<T> option,
T value)
Add an option to apply to the specified environment, adapting it as
necessary to the
Customizable API. |
public static <T> T getValue(Environment<?,?,?,?,?,?,?,?,?,?,?,?> env, Option<T> option)
Customizable
API. If not already set, return the option's
default value.env
- an environment on which to query an optionoption
- an option to queryCustomizable.getValue(Option)
public static <T> void setOption(Environment<?,?,?,?,?,?,?,?,?,?,?,?> env, Option<T> option, T value)
Customizable
API.env
- an environment on which to set an optionoption
- the optionvalue
- the option's valueCusotmizable#setOption(Option, Object)
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.