info.sswap.http.representation.json
Class JsonKeywords

java.lang.Object
  extended by info.sswap.http.representation.json.JsonKeywords

public class JsonKeywords
extends java.lang.Object

Class with the keywords used in the JSON representation.

Author:
Blazej Bulka

Field Summary
static java.lang.String API
           
static java.lang.String CACHE
           
static java.lang.String CARDINALITY
          Keyword used in specification of cardinality restrictions for a property.
static java.lang.String DATATYPE
          Keyword used to explicitly describe a value with its actual datatype.
static java.lang.String DEFINITIONS
           
static java.lang.String IMPORTS
          Keyword used as one of the top-level keys in a message.
static java.lang.String MAPPING
           
static java.lang.String OBJECT
          Keyword used as a value to denote that the value is an object
static java.lang.String PREFIX
          Keyword used as one of the top-level keys in a message.
static java.lang.String SUBJECT
          Keyword used as a value to denote that the value is a subject
static java.util.Set<java.lang.String> TOP_LEVEL_KEYWORDS
          Keywords that can appear in the top level of a message.
static java.lang.String UNBOUNDED
          Keyword used in max cardinality restriction (for unbounded cardinality).
static java.lang.String VALUE
          Keyword used in specification of a property value.
static java.util.Set<java.lang.String> VALUE_DEF_KEYWORDS
          Keywords that can appear in the definition of a value
 
Constructor Summary
JsonKeywords()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final java.lang.String PREFIX
Keyword used as one of the top-level keys in a message. The value for this key is the JSON object with the name space definitions

See Also:
Constant Field Values

IMPORTS

public static final java.lang.String IMPORTS
Keyword used as one of the top-level keys in a message. The value for this key is a JSON object with the ontologies that should be imported.

See Also:
Constant Field Values

VALUE

public static final java.lang.String VALUE
Keyword used in specification of a property value.

See Also:
Constant Field Values

CARDINALITY

public static final java.lang.String CARDINALITY
Keyword used in specification of cardinality restrictions for a property. The value for this key should be a JSON array with exactly two values (min and max cardinality)

See Also:
Constant Field Values

DATATYPE

public static final java.lang.String DATATYPE
Keyword used to explicitly describe a value with its actual datatype.

See Also:
Constant Field Values

UNBOUNDED

public static final java.lang.String UNBOUNDED
Keyword used in max cardinality restriction (for unbounded cardinality).

See Also:
Constant Field Values

SUBJECT

public static final java.lang.String SUBJECT
Keyword used as a value to denote that the value is a subject

See Also:
Constant Field Values

OBJECT

public static final java.lang.String OBJECT
Keyword used as a value to denote that the value is an object

See Also:
Constant Field Values

MAPPING

public static final java.lang.String MAPPING
See Also:
Constant Field Values

DEFINITIONS

public static final java.lang.String DEFINITIONS
See Also:
Constant Field Values

API

public static final java.lang.String API
See Also:
Constant Field Values

CACHE

public static final java.lang.String CACHE
See Also:
Constant Field Values

TOP_LEVEL_KEYWORDS

public static java.util.Set<java.lang.String> TOP_LEVEL_KEYWORDS
Keywords that can appear in the top level of a message.


VALUE_DEF_KEYWORDS

public static java.util.Set<java.lang.String> VALUE_DEF_KEYWORDS
Keywords that can appear in the definition of a value

Constructor Detail

JsonKeywords

public JsonKeywords()


Copyright (c) 2010, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.