Package io.github.qishr.cascara.schema.rule
Class AbstractValidationRule
java.lang.Object
io.github.qishr.cascara.schema.rule.AbstractValidationRule
Direct Known Subtypes:
MinItemsRule, FormatRule, FileExtensionRule, RequiredRule, MaxItemsRule, MaxLengthRule, EnumRule, MaxValueRule, TypeRule, MinValueRule, UniqueItemsRule, MinLengthRule, RegexRule
public abstract class AbstractValidationRule
Constructor Summary
| Constructor | Description |
|---|---|
| AbstractValidationRule() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| protected void | error(String fragmentPath, AstNode node, Reporter reporter, SchemaDiagnosticCode code, Object[] details) | |
| protected void | error(String fragmentPath, int line, int column, Reporter reporter, SchemaDiagnosticCode code, Object[] details) |
Method Details
error
protected void error(String fragmentPath, AstNode node, Reporter reporter, SchemaDiagnosticCode code, Object[] details)
error
protected void error(String fragmentPath, int line, int column, Reporter reporter, SchemaDiagnosticCode code, Object[] details)