public class ParsingOptions
extends java.lang.Object
The API docs for don't explicitly state it, but the field values imply that the parsing options may be bitwise 'OR'ed together.
This is supported by using a comma separated list of when configuring rendering options (or manually bitwise OR the literal
values yourself). PARSE_IGNORE_UNKNOWN_FIELDS,PARSE_ACCEPT_ONLY_XMLVERSION_10
will be equivalent to 2 | 3328)
.
Modifier and Type | Class and Description |
---|---|
static class |
ParsingOptions.Option
Provides a friendly text representation of the options.
|
Constructor and Description |
---|
ParsingOptions() |
Modifier and Type | Method and Description |
---|---|
static int |
parse(java.lang.String s)
Parse the string into an associated option.
|
public static int parse(java.lang.String s) throws JcoException
s
- the literal value associated with ParsingOptions.Option
(e.g. "PARSE_WITH_IGNORE_UNKNOWN_FIELDS"), if a match
is not found, then the fallback is to assume the string is the correct integer value of the option.JcoException
- if the parse option could be interpretedCopyright Adaptris