Modifier and Type | Class and Description |
---|---|
class |
InvalidSchemaException
Exception thrown by the validation process when a JSON Schema is invalid
|
class |
JsonReferenceException
Exception associated with all JSON Reference exceptions
|
Modifier and Type | Method and Description |
---|---|
ProcessingException |
ExceptionProvider.doException(ProcessingMessage message)
Return an exception associated with a message
|
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 |
SchemaLoader.get(URI uri)
Get a schema tree from the given URI
|
com.fasterxml.jackson.databind.JsonNode |
URIManager.getContent(URI uri)
Get the content at a given URI as a
JsonNode |
SchemaTree |
RefResolver.rawProcess(ProcessingReport report,
SchemaTree input) |
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
|
Modifier and Type | Method and Description |
---|---|
ProcessingException |
ProcessingMessage.asException()
Build an exception out of this message
|
ProcessingException |
SimpleExceptionProvider.doException(ProcessingMessage message) |
Modifier and Type | Method and Description |
---|---|
void |
ProcessingReport.debug(ProcessingMessage message)
Log a message with a level of
LogLevel.DEBUG |
void |
AbstractProcessingReport.debug(ProcessingMessage message) |
protected void |
AbstractProcessingReport.dispatch(ProcessingMessage message)
Main dispatch method
|
void |
ProcessingReport.error(ProcessingMessage message)
Log a message with a level of
LogLevel.ERROR |
void |
AbstractProcessingReport.error(ProcessingMessage message) |
void |
ProcessingReport.fatal(ProcessingMessage message)
Log a message with a level of
LogLevel.FATAL |
void |
AbstractProcessingReport.fatal(ProcessingMessage message) |
void |
ProcessingReport.info(ProcessingMessage message)
Log a message with a level of
LogLevel.INFO |
void |
AbstractProcessingReport.info(ProcessingMessage message) |
void |
ProcessingReport.mergeWith(ProcessingReport other)
Merge another report into this report
|
void |
AbstractProcessingReport.mergeWith(ProcessingReport other) |
void |
ProcessingReport.warn(ProcessingMessage message)
Log a message with a level of
LogLevel.WARNING |
void |
AbstractProcessingReport.warn(ProcessingMessage message) |
Copyright © 2016. All rights reserved.