org.raml.parser.rule
Interface NodeRule<V extends Node>

All Known Subinterfaces:
TupleRule<K,V>
All Known Implementing Classes:
BaseUriRule, ContributionTupleRule, DefaultTupleRule, EnumModifierRule, ImplicitMapEntryRule, MapTupleRule, ParamRule, PojoTupleRule, SequenceTupleRule, SimpleRule, UnknownTupleRule, UriParametersRule

public interface NodeRule<V extends Node>


Method Summary
 List<ValidationResult> onRuleEnd()
          Called when the ruled was ended to verify all mandatory fields are present
 List<ValidationResult> validateValue(V value)
          Validates the given value
 

Method Detail

validateValue

List<ValidationResult> validateValue(V value)
Validates the given value

Parameters:
value - The value to validate
Returns:

onRuleEnd

List<ValidationResult> onRuleEnd()
Called when the ruled was ended to verify all mandatory fields are present

Returns:


Copyright © 2013. All rights reserved.