public static enum JsonCasSerializer.JsonContextFormat extends Enum<JsonCasSerializer.JsonContextFormat>
The serialization can optionally include context information in addition to the feature structures.
This context information is specified, per used-type.
It can be further subdivided into 3 parts:
Some of these may be omitted, if not wanted. This enum allows specifying what to omit.
| Enum Constant and Description |
|---|
omitContext |
omitExpandedTypeNames |
omitSubtypes |
| Modifier and Type | Method and Description |
|---|---|
static JsonCasSerializer.JsonContextFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonCasSerializer.JsonContextFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonCasSerializer.JsonContextFormat omitContext
public static final JsonCasSerializer.JsonContextFormat omitSubtypes
public static final JsonCasSerializer.JsonContextFormat omitExpandedTypeNames
public static JsonCasSerializer.JsonContextFormat[] values()
for (JsonCasSerializer.JsonContextFormat c : JsonCasSerializer.JsonContextFormat.values()) System.out.println(c);
public static JsonCasSerializer.JsonContextFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.