- 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 boolean
getAsBoolean(Feature f)
Long
getAsLong(Feature f)
String
getAsString(Feature f)
Object
getValue(Feature feature)
FeatureConfiguration
setValue(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)
-
-