public final class SchemaNode extends Object
A schema node is the actual schema (as a JsonNode and the schema
context (as a SchemaContainer).
This class has a critical performance role, as it is used as keys to the
validator cache. It is therefore important that it have very efficient
implementations of Object.equals(Object) and Object.hashCode().
This class is thread safe and immutable.
JsonValidatorCache| Modifier and Type | Field and Description |
|---|---|
private SchemaContainer |
container |
private JsonNode |
node |
| Constructor and Description |
|---|
SchemaNode(SchemaContainer container,
JsonNode node) |
private final SchemaContainer container
private final JsonNode node
public SchemaNode(SchemaContainer container, JsonNode node)
Copyright © 2012. All Rights Reserved.