| 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
|
class |
SchemaWalkingException |
| Modifier and Type | Method and Description |
|---|---|
ProcessingException |
ExceptionProvider.doException(ProcessingMessage message)
Return an exception associated with a message
|
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaExpander.onEnter(JsonPointer pointer) |
void |
SchemaExpander.onExit(JsonPointer pointer) |
void |
SchemaExpander.onTreeChange(SchemaTree oldTree,
SchemaTree newTree) |
void |
SchemaExpander.onWalk(SchemaTree tree) |
| Modifier and Type | Method and Description |
|---|---|
SchemaTree |
SchemaLoader.get(URI uri)
Get a schema tree from the given URI
|
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 |
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
|
| 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 |
ForwardingReport.debug(ProcessingMessage message)
Deprecated.
|
void |
AbstractProcessingReport.debug(ProcessingMessage message) |
void |
ProcessingReport.debug(ProcessingMessage message)
Log a message with a level of
LogLevel.DEBUG |
protected void |
AbstractProcessingReport.dispatch(ProcessingMessage message)
Main dispatch method
|
void |
ForwardingReport.error(ProcessingMessage message)
Deprecated.
|
void |
AbstractProcessingReport.error(ProcessingMessage message) |
void |
ProcessingReport.error(ProcessingMessage message)
Log a message with a level of
LogLevel.ERROR |
void |
ForwardingReport.fatal(ProcessingMessage message)
Deprecated.
|
void |
AbstractProcessingReport.fatal(ProcessingMessage message) |
void |
ProcessingReport.fatal(ProcessingMessage message)
Log a message with a level of
LogLevel.FATAL |
void |
ForwardingReport.info(ProcessingMessage message)
Deprecated.
|
void |
AbstractProcessingReport.info(ProcessingMessage message) |
void |
ProcessingReport.info(ProcessingMessage message)
Log a message with a level of
LogLevel.INFO |
void |
ForwardingReport.mergeWith(ProcessingReport other)
Deprecated.
|
void |
AbstractProcessingReport.mergeWith(ProcessingReport other) |
void |
ProcessingReport.mergeWith(ProcessingReport other)
Merge another report into this report
|
void |
ForwardingReport.warn(ProcessingMessage message)
Deprecated.
|
void |
AbstractProcessingReport.warn(ProcessingMessage message) |
void |
ProcessingReport.warn(ProcessingMessage message)
Log a message with a level of
LogLevel.WARNING |
| 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> void |
SchemaWalker2.accept(SchemaTree tree,
SchemaVisitor<T> visitor) |
abstract void |
SchemaVisitor.enteringPath(JsonPointer pointer) |
void |
SchemaListener.onEnter(JsonPointer pointer)
Method called when the walker changes pointer into the currently walked
tree
|
void |
SchemaListener.onExit(JsonPointer pointer)
Method called when the walking process exits a subtree
|
void |
SchemaListener.onTreeChange(SchemaTree oldTree,
SchemaTree newTree)
Method called when the walking process changes trees
|
void |
SchemaListener.onWalk(SchemaTree tree)
Method called when the current tree node is walked
|
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
|
protected abstract SchemaTree |
SchemaWalker2.resolveTree(SchemaTree tree) |
T |
SchemaVisitor.visit(SchemaWalker2 walker) |
<T> void |
SchemaWalker.walk(SchemaListener<T> listener,
ProcessingReport report)
Walk a tree with a listener
|
Copyright © 2013. All Rights Reserved.