Package | Description |
---|---|
com.github.fge.jsonschema.cfg | |
com.github.fge.jsonschema.load |
Schema loading and preloading classes
|
com.github.fge.jsonschema.ref |
JSON Reference related classes
|
com.github.fge.jsonschema.tree |
Navigable JSON tree representations
|
Modifier and Type | Method and Description |
---|---|
static JsonRef |
RefSanityChecks.absoluteRef(String input)
Return an absolute JSON Reference from a string input
|
Modifier and Type | Method and Description |
---|---|
abstract SchemaTree |
Dereferencing.newTree(JsonRef ref,
JsonNode node)
Create a new schema tree with a given loading URI and JSON Schema
|
Modifier and Type | Method and Description |
---|---|
static JsonRef |
JsonRef.emptyRef()
Return an empty reference
|
static JsonRef |
JsonRef.fromString(String s)
Build a JSON Reference from a string input
|
static JsonRef |
JsonRef.fromURI(URI uri)
Build a JSON Reference from a URI
|
abstract JsonRef |
JsonRef.resolve(JsonRef other)
Resolve this reference against another reference
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsonRef.contains(JsonRef other)
Tell whether the current JSON Reference "contains" another
|
abstract JsonRef |
JsonRef.resolve(JsonRef other)
Resolve this reference against another reference
|
Modifier and Type | Field and Description |
---|---|
protected JsonRef |
BaseSchemaTree.loadingRef
The JSON Reference from which this node has been loaded
|
Modifier and Type | Method and Description |
---|---|
JsonRef |
BaseSchemaTree.getContext()
Get the current resolution context
|
JsonRef |
SchemaTree.getContext()
Get the current resolution context
|
JsonRef |
BaseSchemaTree.getDollarSchema() |
JsonRef |
SchemaTree.getDollarSchema()
Return the metaschema URI for that schema (ie,
$schema ) |
JsonRef |
BaseSchemaTree.getLoadingRef()
Get the loading URI for that schema
|
JsonRef |
SchemaTree.getLoadingRef()
Get the loading URI for that schema
|
protected static JsonRef |
BaseSchemaTree.idFromNode(JsonNode node)
Build a JSON Reference from a node
|
JsonRef |
BaseSchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
JsonRef |
SchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
Modifier and Type | Method and Description |
---|---|
boolean |
SchemaTree.containsRef(JsonRef ref)
Tell whether a JSON Reference is contained within this schema tree
|
boolean |
InlineSchemaTree.containsRef(JsonRef ref) |
boolean |
CanonicalSchemaTree.containsRef(JsonRef ref) |
JsonPointer |
SchemaTree.matchingPointer(JsonRef ref)
Return a matching pointer in this tree for a fully resolved reference
|
JsonPointer |
InlineSchemaTree.matchingPointer(JsonRef ref) |
JsonPointer |
CanonicalSchemaTree.matchingPointer(JsonRef ref) |
JsonRef |
BaseSchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
JsonRef |
SchemaTree.resolve(JsonRef other)
Resolve a JSON Reference against the current resolution context
|
Constructor and Description |
---|
BaseSchemaTree(JsonRef loadingRef,
JsonNode baseNode,
JsonPointer pointer) |
CanonicalSchemaTree(JsonRef loadingRef,
JsonNode baseNode) |
InlineSchemaTree(JsonRef loadingRef,
JsonNode baseNode) |
Copyright © 2013. All Rights Reserved.