Package | Description |
---|---|
com.github.fge.jsonschema.core.keyword.syntax | |
com.github.fge.jsonschema.core.keyword.syntax.checkers |
Keyword syntax checkers
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.common |
Keyword syntax checkers common to both draft v3 and draft v4
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.draftv3 |
Keyword syntax checkers specific to draft v3
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.draftv4 |
Keyword syntax checkers specific to draft v4
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.helpers |
Keyword syntax checker helper classes
|
com.github.fge.jsonschema.core.keyword.syntax.checkers.hyperschema |
Syntax checkers for draft v4 hyperschema keywords
|
com.github.fge.jsonschema.core.load |
Schema loading and JSON Reference resolving
|
com.github.fge.jsonschema.core.processing |
Core processing interface and building utility classes
|
com.github.fge.jsonschema.core.report |
Processing report infrastructure
|
Modifier and Type | Method and Description |
---|---|
SchemaTree |
SyntaxProcessor.rawProcess(ProcessingReport report,
SchemaTree input) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSyntaxChecker.checkSyntax(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Main syntax checking function
|
void |
SyntaxChecker.checkSyntax(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Check the syntax for this keyword
|
protected abstract void |
AbstractSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Method which all syntax checkers extending this class must implement
|
Modifier and Type | Method and Description |
---|---|
protected void |
ExclusiveMaximumSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
AdditionalSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PatternSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
EnumSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
ExclusiveMinimumSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PatternPropertiesSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
DraftV3DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
String name,
SchemaTree tree) |
protected void |
DraftV3TypeKeywordSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV3ItemsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
ExtendsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
DraftV3PropertiesSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected void |
DraftV4DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
String name,
SchemaTree tree) |
protected void |
RequiredSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
NotSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV4TypeSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV4ItemsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
DefinitionsSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
protected void |
DraftV4PropertiesSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
DependenciesSyntaxChecker.checkDependency(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
String name,
SchemaTree tree)
Check one dependency which is not a schema dependency
|
protected void |
DependenciesSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaMapSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DivisorSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
URISyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaOrSchemaArraySyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
void |
TypeOnlySyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaArraySyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PositiveIntegerSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected abstract void |
SchemaMapSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra checks on the value
|
protected abstract void |
SchemaOrSchemaArraySyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra check on the keyword
|
Modifier and Type | Method and Description |
---|---|
protected void |
MediaSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
LinksSyntaxChecker.checkValue(Collection<com.github.fge.jackson.jsonpointer.JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
Modifier and Type | Method and Description |
---|---|
SchemaTree |
RefResolver.rawProcess(ProcessingReport report,
SchemaTree input) |
Modifier and Type | Method and Description |
---|---|
ProcessingReport |
ProcessingResult.getReport()
Get the report out of this result
|
Modifier and Type | Method and Description |
---|---|
static <IN extends MessageProvider,OUT extends MessageProvider> |
ProcessingResult.of(Processor<IN,OUT> processor,
ProcessingReport report,
IN input)
Build a result out of a processor, a report and an input
|
OUT |
Processor.process(ProcessingReport report,
IN input)
Process the input
|
OUT |
CachingProcessor.process(ProcessingReport report,
IN input) |
ValueHolder<OUT> |
RawProcessor.process(ProcessingReport report,
ValueHolder<IN> input) |
protected abstract OUT |
RawProcessor.rawProcess(ProcessingReport report,
IN input)
Process a raw input, return a raw output
|
static <IN extends MessageProvider,OUT extends MessageProvider> |
ProcessingResult.uncheckedResult(Processor<IN,OUT> processor,
ProcessingReport report,
IN input)
Build a result out of a computation and wrap any processing exception
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProcessingReport
Base implementation of a processing report
|
class |
ConsoleProcessingReport
A simple processing report printing its messages to
System.out |
class |
DevNullProcessingReport
A processing report which logs absolutely nothing
|
class |
ListProcessingReport
List -based implementation of a ProcessingReport |
Modifier and Type | Method and Description |
---|---|
ProcessingReport |
ReportProvider.newReport()
Generate a new report
|
ProcessingReport |
ListReportProvider.newReport() |
ProcessingReport |
ReportProvider.newReport(LogLevel logLevel)
Generate a new report with an adapted log level and the same exception
threshold
|
ProcessingReport |
ListReportProvider.newReport(LogLevel logLevel) |
ProcessingReport |
ReportProvider.newReport(LogLevel logLevel,
LogLevel exceptionThreshold)
Generate a new report with an adapted log level and exception threshold
|
ProcessingReport |
ListReportProvider.newReport(LogLevel logLevel,
LogLevel exceptionThreshold) |
Modifier and Type | Method and Description |
---|---|
void |
ProcessingReport.mergeWith(ProcessingReport other)
Merge another report into this report
|
void |
AbstractProcessingReport.mergeWith(ProcessingReport other) |
Constructor and Description |
---|
ListProcessingReport(ProcessingReport other) |
Copyright © 2016. All rights reserved.