@PublicApi public class ParserOptions extends java.lang.Object
Parser
behaves.Modifier and Type | Class and Description |
---|---|
static class |
ParserOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static ParserOptions |
getDefaultParserOptions()
By default the Parser will not capture ignored characters.
|
boolean |
isCaptureIgnoredChars()
Significant memory savings can be made if we do NOT capture ignored characters,
especially in SDL parsing.
|
static ParserOptions.Builder |
newParserOptions() |
static void |
setDefaultParserOptions(ParserOptions options)
By default the Parser will not capture ignored characters.
|
public static ParserOptions getDefaultParserOptions()
IgnoredChar
public static void setDefaultParserOptions(ParserOptions options)
options
- - the new default JVM parser optionsIgnoredChar
public boolean isCaptureIgnoredChars()
public static ParserOptions.Builder newParserOptions()