public final class SchemaNode extends Object
A schema node is the actual schema (as a JsonNode and the schema
context (as a SchemaContext).
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| Constructor and Description |
|---|
SchemaNode(SchemaContext schemaContext,
JsonNode node) |
public SchemaNode(SchemaContext schemaContext, JsonNode node)
public SchemaContext getSchemaContext()
public JsonNode getNode()
Copyright © 2013. All Rights Reserved.