| Package | Description |
|---|---|
| com.github.fge.jsonschema.load |
Schema loading and JSON Reference resolving
|
| com.github.fge.jsonschema.processing |
Core processing interface and building utility classes
|
| com.github.fge.jsonschema.report |
Processing report infrastructure
|
| com.github.fge.jsonschema.syntax | |
| com.github.fge.jsonschema.syntax.checkers |
Keyword syntax checkers
|
| com.github.fge.jsonschema.syntax.checkers.common |
Keyword syntax checkers common to both draft v3 and draft v4
|
| com.github.fge.jsonschema.syntax.checkers.draftv3 |
Keyword syntax checkers specific to draft v3
|
| com.github.fge.jsonschema.syntax.checkers.draftv4 |
Keyword syntax checkers specific to draft v4
|
| com.github.fge.jsonschema.syntax.checkers.helpers |
Keyword syntax checker helper classes
|
| com.github.fge.jsonschema.syntax.checkers.hyperschema | |
| com.github.fge.jsonschema.walk |
Schema walker, listener and processor
|
| 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 |
CachingProcessor.process(ProcessingReport report,
IN input) |
OUT |
Processor.process(ProcessingReport report,
IN input)
Process the 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 |
ForwardingReport
Deprecated.
does not work properly; will be removed in 1.1.7.
|
class |
ListProcessingReport
List-based implementation of a ProcessingReport |
| Modifier and Type | Method and Description |
|---|---|
ProcessingReport |
ListReportProvider.newReport() |
ProcessingReport |
ReportProvider.newReport()
Generate a new report
|
ProcessingReport |
ListReportProvider.newReport(LogLevel logLevel) |
ProcessingReport |
ReportProvider.newReport(LogLevel logLevel)
Generate a new report with an adapted log level and the same exception
threshold
|
ProcessingReport |
ListReportProvider.newReport(LogLevel logLevel,
LogLevel exceptionThreshold) |
ProcessingReport |
ReportProvider.newReport(LogLevel logLevel,
LogLevel exceptionThreshold)
Generate a new report with an adapted log level and exception threshold
|
| Modifier and Type | Method and Description |
|---|---|
void |
ForwardingReport.mergeWith(ProcessingReport other)
Deprecated.
|
void |
AbstractProcessingReport.mergeWith(ProcessingReport other) |
void |
ProcessingReport.mergeWith(ProcessingReport other)
Merge another report into this report
|
| Constructor and Description |
|---|
ForwardingReport(ProcessingReport report)
Deprecated.
Constructor
|
ListProcessingReport(ProcessingReport other) |
| Modifier and Type | Method and Description |
|---|---|
SchemaTree |
SyntaxProcessor.rawProcess(ProcessingReport report,
SchemaTree input) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSyntaxChecker.checkSyntax(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree)
Main syntax checking function
|
void |
SyntaxChecker.checkSyntax(Collection<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<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<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
ExclusiveMinimumSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
EnumSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PatternSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
AdditionalSyntaxChecker.checkValue(Collection<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 |
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 |
DraftV4TypeSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
NotSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
RequiredSyntaxChecker.checkValue(Collection<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 |
SchemaArraySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DraftV3TypeKeywordSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
URISyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
void |
TypeOnlySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DivisorSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaOrSchemaArraySyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
SchemaMapSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
PositiveIntegerSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
DependenciesSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected abstract void |
SchemaOrSchemaArraySyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra check on the keyword
|
protected abstract void |
SchemaMapSyntaxChecker.extraChecks(ProcessingReport report,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
SchemaTree tree)
Perform extra checks on the value
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
LinksSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
protected void |
MediaSyntaxChecker.checkValue(Collection<JsonPointer> pointers,
com.github.fge.msgsimple.bundle.MessageBundle bundle,
ProcessingReport report,
SchemaTree tree) |
| Modifier and Type | Method and Description |
|---|---|
T |
SchemaWalkerProcessor.rawProcess(ProcessingReport report,
SchemaTree input) |
<T> void |
ResolvingSchemaWalker.resolveTree(SchemaListener<T> listener,
ProcessingReport report) |
<T> void |
SimpleSchemaWalker.resolveTree(SchemaListener<T> listener,
ProcessingReport report) |
abstract <T> void |
SchemaWalker.resolveTree(SchemaListener<T> listener,
ProcessingReport report)
Change the current tree to another tree, if any
|
<T> void |
SchemaWalker.walk(SchemaListener<T> listener,
ProcessingReport report)
Walk a tree with a listener
|
Copyright © 2013. All Rights Reserved.