public static enum Constants.SCANNER extends java.lang.Enum<Constants.SCANNER>
Enum Constant and Description |
---|
DEFAULT
Instructs the XML Reader to use the generated scanner to tokenize the JSON stream.
|
SCANNER_1
Instructs the XML Reader to use the JSON scanner that can process anonymous nested arrays.
If this scanner is used, the input stream has to be read once within the message builder to identify the type of JSON message (ie. |
SCANNER_2
Instructs the XML Reader to use the JSON scanner that can both process anonymous (nested/top level) arrays
and adds additional tokens to the input stream to identify the type of JSON steam. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Constants.SCANNER |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.SCANNER[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.SCANNER DEFAULT
public static final Constants.SCANNER SCANNER_1
public static final Constants.SCANNER SCANNER_2
public static Constants.SCANNER[] values()
for (Constants.SCANNER c : Constants.SCANNER.values()) System.out.println(c);
public static Constants.SCANNER valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Constants.SCANNER>
Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.