Top Description Fields Constructors Methods
com.amazon.ion.impl

pack-priv final Class IonTypeID

extends Object
Class Inheritance
Imports
com.amazon.ion.IonType

Holds pre-computed information about a binary Ion type ID byte.

Field Summary

Modifier and TypeField and Description
private static final IonTypeID
private static final int
private static final int
pack-priv static final IonType[]
private static final int
pack-priv static final IonType
pack-priv final boolean
pack-priv final boolean
pack-priv final boolean
pack-priv final boolean
pack-priv final boolean
pack-priv final boolean
pack-priv final boolean
pack-priv final int
private static final int
pack-priv final byte
private static final int
private static final int
private static final int
pack-priv static final int
pack-priv final int
pack-priv final IonType
private static final int
pack-priv static final IonTypeID[]
pack-priv static final IonTypeID[]
private static final int
pack-priv final boolean

Constructor Summary

AccessConstructor and Description
private
IonTypeID(byte id, int minorVersion)

Method Summary

Modifier and TypeMethod and Description
private static boolean
isValid_1_0(byte upperNibble, byte lowerNibble, IonType type)

Determines whether the Ion spec allows this particular upperNibble/lowerNibble pair.

public String

Returns:

a String representation of this object (for debugging).
toString
()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

ALWAYS_INVALID_TYPE_IDback to summary
private static final IonTypeID ALWAYS_INVALID_TYPE_ID
ANNOTATION_WRAPPER_MAX_LENGTHback to summary
private static final int ANNOTATION_WRAPPER_MAX_LENGTH
ANNOTATION_WRAPPER_MIN_LENGTHback to summary
private static final int ANNOTATION_WRAPPER_MIN_LENGTH
BINARY_TOKEN_TYPES_1_0back to summary
pack-priv static final IonType[] BINARY_TOKEN_TYPES_1_0
BITS_PER_NIBBLEback to summary
private static final int BITS_PER_NIBBLE
ION_TYPE_ANNOTATION_WRAPPERback to summary
pack-priv static final IonType ION_TYPE_ANNOTATION_WRAPPER
isDelimitedback to summary
pack-priv final boolean isDelimited
isInlineableback to summary
pack-priv final boolean isInlineable
isNegativeIntback to summary
pack-priv final boolean isNegativeInt
isNopPadback to summary
pack-priv final boolean isNopPad
isNullback to summary
pack-priv final boolean isNull
isTemplateInvocationback to summary
pack-priv final boolean isTemplateInvocation
isValidback to summary
pack-priv final boolean isValid
lengthback to summary
pack-priv final int length
LOW_NIBBLE_BITMASKback to summary
private static final int LOW_NIBBLE_BITMASK
lowerNibbleback to summary
pack-priv final byte lowerNibble
NEGATIVE_INT_TYPE_CODEback to summary
private static final int NEGATIVE_INT_TYPE_CODE
NULL_VALUE_NIBBLEback to summary
private static final int NULL_VALUE_NIBBLE
NUMBER_OF_BYTESback to summary
private static final int NUMBER_OF_BYTES
ORDERED_STRUCT_NIBBLEback to summary
pack-priv static final int ORDERED_STRUCT_NIBBLE
templateIdback to summary
pack-priv final int templateId
typeback to summary
pack-priv final IonType type
TYPE_CODE_INVALIDback to summary
private static final int TYPE_CODE_INVALID
TYPE_IDS_1_0back to summary
pack-priv static final IonTypeID[] TYPE_IDS_1_0
TYPE_IDS_NO_IVMback to summary
pack-priv static final IonTypeID[] TYPE_IDS_NO_IVM
VARIABLE_LENGTH_NIBBLEback to summary
private static final int VARIABLE_LENGTH_NIBBLE
variableLengthback to summary
pack-priv final boolean variableLength

Constructor Detail

IonTypeIDback to summary
private IonTypeID(byte id, int minorVersion)

Method Detail

isValid_1_0back to summary
private static boolean isValid_1_0(byte upperNibble, byte lowerNibble, IonType type)

Determines whether the Ion spec allows this particular upperNibble/lowerNibble pair.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a String representation of this object (for debugging).

Annotations
@Override