@Deprecated
public class ParserConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAXIMUM_NESTING_DEPTH
Deprecated.
The default maximum nesting depth when parsing a document.
|
static int |
UNDEFINED_MAXIMUM_NESTING_DEPTH
Deprecated.
Used to indicate there's no defined limit to the maximum nesting depth when parsing a document.
|
Constructor and Description |
---|
ParserConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxNestingDepth()
Deprecated.
The maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.
|
boolean |
isKeepStrings()
Deprecated.
When parsing the XML into JSONML, specifies if values should be kept as strings (
true ), or if
they should try to be guessed into JSON values (numeric, boolean, string) |
<T extends ParserConfiguration> |
withKeepStrings(boolean newVal)
Deprecated.
When parsing the XML into JSONML, specifies if values should be kept as strings (
true ), or if
they should try to be guessed into JSON values (numeric, boolean, string) |
<T extends ParserConfiguration> |
withMaxNestingDepth(int maxNestingDepth)
Deprecated.
Defines the maximum nesting depth that the parser will descend before throwing an exception
when parsing the XML into JSONML.
|
public static final int UNDEFINED_MAXIMUM_NESTING_DEPTH
public static final int DEFAULT_MAXIMUM_NESTING_DEPTH
public boolean isKeepStrings()
true
), or if
they should try to be guessed into JSON values (numeric, boolean, string)keepStrings
configuration value.public <T extends ParserConfiguration> T withKeepStrings(boolean newVal)
true
), or if
they should try to be guessed into JSON values (numeric, boolean, string)newVal
- new value to use for the keepStrings
configuration option.public int getMaxNestingDepth()
public <T extends ParserConfiguration> T withMaxNestingDepth(int maxNestingDepth)
maxNestingDepth
- the maximum nesting depth allowed to the XML parserCopyright © 2010 - 2023 Adobe. All Rights Reserved