com.github.fge.jsonschema.messages
Enum KeywordValidationMessages

java.lang.Object
  extended by java.lang.Enum<KeywordValidationMessages>
      extended by com.github.fge.jsonschema.messages.KeywordValidationMessages
All Implemented Interfaces:
Serializable, Comparable<KeywordValidationMessages>

public enum KeywordValidationMessages
extends Enum<KeywordValidationMessages>

Messages used by keyword validation


Enum Constant Summary
ADDITIONAL_ITEMS_NOT_ALLOWED
           
ADDITIONAL_PROPERTIES_NOT_ALLOWED
           
ALLOF_FAIL
           
ANYOF_FAIL
           
ARRAY_IS_TOO_LONG
           
ARRAY_IS_TOO_SHORT
           
DISALLOW_SCHEMA
           
DISALLOWED_TYPE
           
ELEMENTS_NOT_UNIQUE
           
MISSING_PROPERTY_DEPS
           
MISSING_REQUIRED_MEMBERS
           
NON_ZERO_DIVISION_REMAINDER
           
NOT_ENOUGH_MEMBERS_IN_OBJECT
           
NOT_FAIL
           
NUMBER_EX_LARGE
           
NUMBER_EX_SMALL
           
NUMBER_TOO_LARGE
           
NUMBER_TOO_SMALL
           
ONEOF_FAIL
           
REGEX_NO_MATCH
           
STRING_TOO_LONG
           
STRING_TOO_SHORT
           
TOO_MANY_MEMBERS_IN_OBJECT
           
TYPE_NO_MATCH
           
VALUE_NOT_IN_ENUM
           
 
Method Summary
 String toString()
           
static KeywordValidationMessages valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KeywordValidationMessages[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADDITIONAL_ITEMS_NOT_ALLOWED

public static final KeywordValidationMessages ADDITIONAL_ITEMS_NOT_ALLOWED

ARRAY_IS_TOO_SHORT

public static final KeywordValidationMessages ARRAY_IS_TOO_SHORT

ARRAY_IS_TOO_LONG

public static final KeywordValidationMessages ARRAY_IS_TOO_LONG

ELEMENTS_NOT_UNIQUE

public static final KeywordValidationMessages ELEMENTS_NOT_UNIQUE

NUMBER_TOO_SMALL

public static final KeywordValidationMessages NUMBER_TOO_SMALL

NUMBER_EX_SMALL

public static final KeywordValidationMessages NUMBER_EX_SMALL

NUMBER_TOO_LARGE

public static final KeywordValidationMessages NUMBER_TOO_LARGE

NUMBER_EX_LARGE

public static final KeywordValidationMessages NUMBER_EX_LARGE

ADDITIONAL_PROPERTIES_NOT_ALLOWED

public static final KeywordValidationMessages ADDITIONAL_PROPERTIES_NOT_ALLOWED

STRING_TOO_SHORT

public static final KeywordValidationMessages STRING_TOO_SHORT

STRING_TOO_LONG

public static final KeywordValidationMessages STRING_TOO_LONG

REGEX_NO_MATCH

public static final KeywordValidationMessages REGEX_NO_MATCH

VALUE_NOT_IN_ENUM

public static final KeywordValidationMessages VALUE_NOT_IN_ENUM

NON_ZERO_DIVISION_REMAINDER

public static final KeywordValidationMessages NON_ZERO_DIVISION_REMAINDER

NOT_ENOUGH_MEMBERS_IN_OBJECT

public static final KeywordValidationMessages NOT_ENOUGH_MEMBERS_IN_OBJECT

TOO_MANY_MEMBERS_IN_OBJECT

public static final KeywordValidationMessages TOO_MANY_MEMBERS_IN_OBJECT

MISSING_REQUIRED_MEMBERS

public static final KeywordValidationMessages MISSING_REQUIRED_MEMBERS

MISSING_PROPERTY_DEPS

public static final KeywordValidationMessages MISSING_PROPERTY_DEPS

TYPE_NO_MATCH

public static final KeywordValidationMessages TYPE_NO_MATCH

ANYOF_FAIL

public static final KeywordValidationMessages ANYOF_FAIL

ALLOF_FAIL

public static final KeywordValidationMessages ALLOF_FAIL

ONEOF_FAIL

public static final KeywordValidationMessages ONEOF_FAIL

NOT_FAIL

public static final KeywordValidationMessages NOT_FAIL

DISALLOWED_TYPE

public static final KeywordValidationMessages DISALLOWED_TYPE

DISALLOW_SCHEMA

public static final KeywordValidationMessages DISALLOW_SCHEMA
Method Detail

values

public static KeywordValidationMessages[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (KeywordValidationMessages c : KeywordValidationMessages.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static KeywordValidationMessages valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<KeywordValidationMessages>


Copyright © 2014. All Rights Reserved.