| Package | Description |
|---|---|
| org.raml.yagi.framework.grammar | |
| org.raml.yagi.framework.grammar.rule |
| Modifier and Type | Method and Description |
|---|---|
ObjectRule |
BaseGrammar.objectType()
Matches an object type
|
| Modifier and Type | Method and Description |
|---|---|
ObjectRule |
ObjectRule.named(String ruleName) |
ObjectRule |
ObjectRule.then(Class<? extends Node> clazz) |
ObjectRule |
ObjectRule.then(NodeFactory factory) |
ObjectRule |
ObjectRule.with(ConditionalRules conditional)
Defines conditional fields based on a condition.
|
ObjectRule |
ObjectRule.with(ExclusiveKeys exclusive)
Defines the mutually exclusive fields
|
ObjectRule |
ObjectRule.with(int index,
KeyValueRule field)
Adds a field to this object rule at a given order
|
ObjectRule |
ObjectRule.with(KeyValueRule field)
Adds a field to this object rule
|
ObjectRule |
ObjectRule.withAll(KeyValueRule... fields)
Adds all a field to this object rule
|
Copyright © 2017. All rights reserved.