|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SyntaxChecker
Interface for a syntax checker
This is a syntax checker for one keyword. As some keywords contain
subschemas, a list of JsonPointer is also passed as an argument so
that the checker can instruct the syntax processor to also check these paths
after it is done.
Note that when a syntax checker is called on a schema, it is guaranteed that the keyword exists in the schema.
SyntaxProcessor| Method Summary | |
|---|---|
void |
checkSyntax(Collection<JsonPointer> pointers,
MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Check the syntax for this keyword |
EnumSet<NodeType> |
getValidTypes()
|
| Method Detail |
|---|
EnumSet<NodeType> getValidTypes()
void checkSyntax(Collection<JsonPointer> pointers,
MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
throws ProcessingException
pointers - the list of JSON Pointers to fill (see description)bundle - the message bundle to usereport - the processing report to usetree - the schema
ProcessingException - an error is detected, and the report is
configured to throw an exception on error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||