public class WriterFeatures extends Object
Modifier and Type | Field and Description |
---|---|
protected Hashtable |
values
This hashtable contains the values for the features.
|
Constructor and Description |
---|
WriterFeatures() |
Modifier and Type | Method and Description |
---|---|
boolean |
getValue(String featureId)
Get the value for the given feature.
|
void |
setValue(String featureId,
boolean value)
Set the value of the given feature
|
protected Hashtable values
public boolean getValue(String featureId) throws IllegalArgumentException
featureId
- The ID of the feature for which the value is requested.IllegalArgumentException
- if the feature is not supported.public void setValue(String featureId, boolean value) throws IllegalArgumentException
featureId
- The ID of the feature to set.value
- The value to set for the feature.IllegalArgumentException
- if the feature is not supported.Copyright © 2005–2018 Apache Software Foundation. All rights reserved.