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
Constructor and Description |
---|
SchemaNode(SchemaContainer container,
JsonNode node) |
public SchemaNode(SchemaContainer container, JsonNode node)
public SchemaContainer getContainer()
public JsonNode getNode()
Copyright © 2013. All Rights Reserved.