public class DecodingOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
IGNORE_SCHEMA_ID
SchemaId in EXI header is not used
|
protected Set<String> |
options |
static int |
PUSHBACK_BUFFER_SIZE
Pushback size for multiple streams in one file
|
| Modifier | Constructor and Description |
|---|---|
protected |
DecodingOptions() |
| Modifier and Type | Method and Description |
|---|---|
static DecodingOptions |
createDefault()
Creates encoding options using default options
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isOptionEnabled(String key)
Informs whether the specified option is enabled.
|
void |
setOption(String key)
Enables given option.
|
String |
toString() |
boolean |
unsetOption(String key)
Disables given option.
|
public static final String IGNORE_SCHEMA_ID
public static final int PUSHBACK_BUFFER_SIZE
public static DecodingOptions createDefault()
public void setOption(String key) throws UnsupportedOption
Note: Some options (e.g. INCLUDE_SCHEMA_ID) will only take effect if the EXI options document is set to encode options in general (see INCLUDE_OPTIONS).
key - referring to a specific optionUnsupportedOption - if option is not supportedpublic boolean unsetOption(String key)
key - referring to a specific optionpublic boolean isOptionEnabled(String key)
key - featureCopyright © 2018 Siemens AG. All rights reserved.