Enum Class BinaryNativeKind

java.lang.Object
java.lang.Enum<BinaryNativeKind>
org.apache.juneau.marshall.stream.BinaryNativeKind
All Implemented Interfaces:
Serializable, Comparable<BinaryNativeKind>, Constable

Discriminant returned by TokenReader.getNativeKind() that classifies the binary-native metadata (if any) carried by the cursor's current token.

A TokenReader surfaces format-native value types as metadata on the existing token vocabulary rather than as new top-level events. A native wrapper rides on whatever token the wrapped value emits (VALUE_* or START_*); this enum lets a format-agnostic consumer branch on the kind of native metadata without having to test the cursor's runtime type.

Each enum value names the concrete native concept it represents. New values may be added in future minor releases as additional formats expose native opt-in metadata.

See Also: