software.amazon.ion.SystemSymbols Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ion-java Show documentation
Show all versions of ion-java Show documentation
A Java implementation of the Amazon Ion data notation.
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at:
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
* language governing permissions and limitations under the License.
*/
package software.amazon.ion;
/**
* Constants for symbols defined by the Ion specification.
*
*/
public final class SystemSymbols
{
/** No touchy! */
private SystemSymbols() { }
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String ION = "$ion";
/**
* The ID of system symbol {@value #ION}, as defined by Ion 1.0.
*/
public static final int ION_SID = 1;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
* This value is the Version Identifier for Ion 1.0.
*/
public static final String ION_1_0 = "$ion_1_0";
/**
* The ID of system symbol {@value #ION_1_0}, as defined by Ion 1.0.
*/
public static final int ION_1_0_SID = 2;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String ION_SYMBOL_TABLE = "$ion_symbol_table";
/**
* The ID of system symbol {@value #ION_SYMBOL_TABLE}, as defined by Ion 1.0.
*/
public static final int ION_SYMBOL_TABLE_SID = 3;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String NAME = "name";
/**
* The ID of system symbol {@value #NAME}, as defined by Ion 1.0.
*/
public static final int NAME_SID = 4;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String VERSION = "version";
/**
* The ID of system symbol {@value #VERSION}, as defined by Ion 1.0.
*/
public static final int VERSION_SID = 5;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String IMPORTS = "imports";
/**
* The ID of system symbol {@value #IMPORTS}, as defined by Ion 1.0.
*/
public static final int IMPORTS_SID = 6;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String SYMBOLS = "symbols";
/**
* The ID of system symbol {@value #SYMBOLS}, as defined by Ion 1.0.
*/
public static final int SYMBOLS_SID = 7;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String MAX_ID = "max_id";
/**
* The ID of system symbol {@value #MAX_ID}, as defined by Ion 1.0.
*/
public static final int MAX_ID_SID = 8;
/**
* The text of system symbol {@value}, as defined by Ion 1.0.
*/
public static final String ION_SHARED_SYMBOL_TABLE =
"$ion_shared_symbol_table";
/**
* The ID of system symbol {@value #ION_SHARED_SYMBOL_TABLE},
* as defined by Ion 1.0.
*/
public static final int ION_SHARED_SYMBOL_TABLE_SID = 9;
/**
* The maximum ID of the IDs of system symbols defined by Ion 1.0.
*/
public static final int ION_1_0_MAX_ID = 9;
}