Package name.jurgenei.gradle.xml
Enum Class AbstractXmlTransformTask.JsonMode
java.lang.Object
java.lang.Enum<AbstractXmlTransformTask.JsonMode>
name.jurgenei.gradle.xml.AbstractXmlTransformTask.JsonMode
- All Implemented Interfaces:
Serializable,Comparable<AbstractXmlTransformTask.JsonMode>,Constable
- Enclosing class:
AbstractXmlTransformTask
public static enum AbstractXmlTransformTask.JsonMode
extends Enum<AbstractXmlTransformTask.JsonMode>
JSON routing mode for
.json files.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AbstractXmlTransformTask.JsonMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Compatibility mode: canonical JSON parser for input, Saxon serializer for output. -
NATIVE
Native Saxon routing for JSON output and no custom JSON parser for input. -
CANONICAL
Canonical JSON parser and serializer for both JSON input and output.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-