Package jsonvalues.spec
Class JsObjSpec
- java.lang.Object
-
- jsonvalues.spec.JsObjSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRequired()
static JsObjSpec
lenient(java.lang.String key, JsSpec spec)
static factory method to create a lenient JsObjSpec of one mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2)
static factory method to create a lenient JsObjSpec of two mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3)
static factory method to create a lenient JsObjSpec of three mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4)
static factory method to create a lenient JsObjSpec of four mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5)
static factory method to create a lenient JsObjSpec of five mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6)
static factory method to create a lenient JsObjSpec of six mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7)
static factory method to create a lenient JsObjSpec of seven mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8)
static factory method to create a lenient JsObjSpec of eight mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9)
static factory method to create a lenient JsObjSpec of nine mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10)
static factory method to create a lenient JsObjSpec of ten mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11)
static factory method to create a lenient JsObjSpec of eleven mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12)
static factory method to create a lenient JsObjSpec of twelve mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13)
static factory method to create a lenient JsObjSpec of thirteen mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14)
static factory method to create a lenient JsObjSpec of fourteen mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15)
static factory method to create a lenient JsObjSpec of fifteen mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16)
static factory method to create a lenient JsObjSpec of sixteen mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17)
static factory method to create a lenient JsObjSpec of seventeen mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18)
static factory method to create a lenient JsObjSpec of eighteen mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19)
static factory method to create a lenient JsObjSpec of nineteen mappings.static JsObjSpec
lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19, java.lang.String key20, JsSpec spec20)
static factory method to create a lenient JsObjSpec of twenty mappings.JsObjSpec
nullable()
JsObjSpec
optional()
JsSpecParser
parser()
JsObjSpec
set(java.lang.String key, JsSpec spec)
add the given key spec to thisstatic JsObjSpec
strict(java.lang.String key, JsSpec spec)
static factory method to create a strict JsObjSpec of one mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2)
static factory method to create a strict JsObjSpec of two mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3)
static factory method to create a strict JsObjSpec of three mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4)
static factory method to create a strict JsObjSpec of four mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5)
static factory method to create a strict JsObjSpec of five mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6)
static factory method to create a strict JsObjSpec of six mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7)
static factory method to create a strict JsObjSpec of seven mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8)
static factory method to create a strict JsObjSpec of eight mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9)
static factory method to create a strict JsObjSpec of nine mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10)
static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11)
static factory method to create a strict JsObjSpec of eleven mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12)
static factory method to create a strict JsObjSpec of twelve mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13)
static factory method to create a strict JsObjSpec of thirteen mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14)
static factory method to create a strict JsObjSpec of fourteen mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15)
static factory method to create a strict JsObjSpec of fifteen mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16)
static factory method to create a strict JsObjSpec of sixteen mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17)
static factory method to create a strict JsObjSpec of seventeen mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18)
static factory method to create a strict JsObjSpec of eighteen mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19)
static factory method to create a strict JsObjSpec of nineteen mappings.static JsObjSpec
strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19, java.lang.String key20, JsSpec spec20)
static factory method to create a strict JsObjSpec of twenty mappings.java.util.Set<JsErrorPair>
test(JsObj obj)
java.util.Set<JsErrorPair>
test(JsPath parentPath, JsValue value)
verify if the given value satisfy this spec.
-
-
-
Method Detail
-
strict
public static JsObjSpec strict(java.lang.String key, JsSpec spec)
static factory method to create a strict JsObjSpec of one mappings. Strict means that different keys than the defined are not allowed- Parameters:
key
- the keyspec
- the mapping associated to the key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key, JsSpec spec)
static factory method to create a lenient JsObjSpec of one mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key
- the keyspec
- the mapping associated to the key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2)
static factory method to create a strict JsObjSpec of two mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2)
static factory method to create a lenient JsObjSpec of two mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3)
static factory method to create a strict JsObjSpec of three mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3)
static factory method to create a lenient JsObjSpec of three mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4)
static factory method to create a strict JsObjSpec of four mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4)
static factory method to create a lenient JsObjSpec of four mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5)
static factory method to create a strict JsObjSpec of five mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5)
static factory method to create a lenient JsObjSpec of five mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6)
static factory method to create a strict JsObjSpec of six mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6)
static factory method to create a lenient JsObjSpec of six mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7)
static factory method to create a strict JsObjSpec of seven mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7)
static factory method to create a lenient JsObjSpec of seven mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8)
static factory method to create a strict JsObjSpec of eight mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8)
static factory method to create a lenient JsObjSpec of eight mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9)
static factory method to create a strict JsObjSpec of nine mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9)
static factory method to create a lenient JsObjSpec of nine mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10)
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10)
static factory method to create a lenient JsObjSpec of ten mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11)
static factory method to create a strict JsObjSpec of eleven mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11)
static factory method to create a lenient JsObjSpec of eleven mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12)
static factory method to create a strict JsObjSpec of twelve mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12)
static factory method to create a lenient JsObjSpec of twelve mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13)
static factory method to create a lenient JsObjSpec of thirteen mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14)
static factory method to create a lenient JsObjSpec of fourteen mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14)
static factory method to create a strict JsObjSpec of fourteen mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15)
static factory method to create a lenient JsObjSpec of fifteen mappings. Lenient means that different keys than the defined are allowed, being valid any value associated to them- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15)
static factory method to create a strict JsObjSpec of fifteen mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16)
static factory method to create a strict JsObjSpec of sixteen mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16)
static factory method to create a lenient JsObjSpec of sixteen mappings. Strict means that different keys than the defined are allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17)
static factory method to create a strict JsObjSpec of seventeen mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17)
static factory method to create a lenient JsObjSpec of seventeen mappings. Lenient means that different keys than the defined are allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18)
static factory method to create a strict JsObjSpec of eighteen mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth keykey18
- the eighteenth keyspec18
- the mapping associated to the eighteenth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18)
static factory method to create a lenient JsObjSpec of eighteen mappings. Lenient means that different keys than the defined are allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth keykey18
- the eighteenth keyspec18
- the mapping associated to the eighteenth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19)
static factory method to create a strict JsObjSpec of nineteen mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth keykey18
- the eighteenth keyspec18
- the mapping associated to the eighteenth keykey19
- the nineteenth keyspec19
- the mapping associated to the nineteenth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19)
static factory method to create a lenient JsObjSpec of nineteen mappings. Lenient means that different keys than the defined are allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth keykey18
- the eighteenth keyspec18
- the mapping associated to the eighteenth keykey19
- the nineteenth keyspec19
- the mapping associated to the nineteenth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19, java.lang.String key20, JsSpec spec20)
static factory method to create a strict JsObjSpec of twenty mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth keykey18
- the eighteenth keyspec18
- the mapping associated to the eighteenth keykey19
- the nineteenth keyspec19
- the mapping associated to the nineteenth keykey20
- the twentieth keyspec20
- the mapping associated to the twentieth key- Returns:
- a JsObjSpec
-
lenient
public static JsObjSpec lenient(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13, java.lang.String key14, JsSpec spec14, java.lang.String key15, JsSpec spec15, java.lang.String key16, JsSpec spec16, java.lang.String key17, JsSpec spec17, java.lang.String key18, JsSpec spec18, java.lang.String key19, JsSpec spec19, java.lang.String key20, JsSpec spec20)
static factory method to create a lenient JsObjSpec of twenty mappings. Lenient means that different keys than the defined are allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth keykey14
- the fourteenth keyspec14
- the mapping associated to the fourteenth keykey15
- the fifteenth keyspec15
- the mapping associated to the fifteenth keykey16
- the sixteenth keyspec16
- the mapping associated to the sixteenth keykey17
- the seventeenth keyspec17
- the mapping associated to the seventeenth keykey18
- the eighteenth keyspec18
- the mapping associated to the eighteenth keykey19
- the nineteenth keyspec19
- the mapping associated to the nineteenth keykey20
- the twentieth keyspec20
- the mapping associated to the twentieth key- Returns:
- a JsObjSpec
-
strict
public static JsObjSpec strict(java.lang.String key1, JsSpec spec1, java.lang.String key2, JsSpec spec2, java.lang.String key3, JsSpec spec3, java.lang.String key4, JsSpec spec4, java.lang.String key5, JsSpec spec5, java.lang.String key6, JsSpec spec6, java.lang.String key7, JsSpec spec7, java.lang.String key8, JsSpec spec8, java.lang.String key9, JsSpec spec9, java.lang.String key10, JsSpec spec10, java.lang.String key11, JsSpec spec11, java.lang.String key12, JsSpec spec12, java.lang.String key13, JsSpec spec13)
static factory method to create a strict JsObjSpec of thirteen mappings. Strict means that different keys than the defined are not allowed- Parameters:
key1
- the first keyspec1
- the mapping associated to the first keykey2
- the second keyspec2
- the mapping associated to the second keykey3
- the third keyspec3
- the mapping associated to the third keykey4
- the fourth keyspec4
- the mapping associated to the fourth keykey5
- the fifth keyspec5
- the mapping associated to the fifth keykey6
- the sixth keyspec6
- the mapping associated to the sixth keykey7
- the seventh keyspec7
- the mapping associated to the seventh keykey8
- the eighth keyspec8
- the mapping associated to the eighth keykey9
- the ninth keyspec9
- the mapping associated to the ninth keykey10
- the tenth keyspec10
- the mapping associated to the eleventh keykey11
- the eleventh keyspec11
- the mapping associated to the eleventh keykey12
- the twelfth keyspec12
- the mapping associated to the twelfth key,key13
- the thirteenth keyspec13
- the mapping associated to the thirteenth key- Returns:
- a JsObjSpec
-
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interfaceJsSpec
- Returns:
- whether or not the key is optional.
-
nullable
public JsObjSpec nullable()
-
optional
public JsObjSpec optional()
-
parser
public JsSpecParser parser()
-
test
public java.util.Set<JsErrorPair> test(JsPath parentPath, JsValue value)
Description copied from interface:JsSpec
verify if the given value satisfy this spec.
-
test
public java.util.Set<JsErrorPair> test(JsObj obj)
-
-