- java.lang.Object
-
- net.sf.jsqlparser.parser.feature.FeatureConfiguration
-
public class FeatureConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description FeatureConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAsBoolean(Feature f)LonggetAsLong(Feature f)StringgetAsString(Feature f)ObjectgetValue(Feature feature)FeatureConfigurationsetValue(Feature feature, Object value)
-
-
-
Method Detail
-
setValue
public FeatureConfiguration setValue(Feature feature, Object value)
- Parameters:
feature-value-- Returns:
this
-
getValue
public Object getValue(Feature feature)
- Parameters:
feature-- Returns:
- the configured feature value - can be
null - Throws:
IllegalStateException- - if givenFeature.isConfigurable()== false
-
getAsBoolean
public boolean getAsBoolean(Feature f)
-
-