Package | Description |
---|---|
com.github.fge.jsonschema.cfg | |
com.github.fge.jsonschema.library | |
com.github.fge.jsonschema.load | |
com.github.fge.jsonschema.ref |
JSON Reference related classes
|
com.github.fge.jsonschema.tree |
Modifier and Type | Method and Description |
---|---|
static JsonRef |
RefSanityChecks.absoluteRef(String input) |
Modifier and Type | Method and Description |
---|---|
Map<JsonRef,Library> |
ValidationConfiguration.getLibraries() |
Modifier and Type | Method and Description |
---|---|
JsonRef |
SchemaVersion.getLocation() |
Modifier and Type | Method and Description |
---|---|
abstract SchemaTree |
Dereferencing.newTree(JsonRef ref,
JsonNode node) |
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.currentRef
The current resolution context
|
protected JsonRef |
BaseSchemaTree.loadingRef
The JSON Reference from which this node has been loaded
|
protected JsonRef |
BaseSchemaTree.startingRef
The JSON Reference representing the context at the root of the schema
|
Modifier and Type | Method and Description |
---|---|
JsonRef |
BaseSchemaTree.getContext()
Get the current resolution context
|
JsonRef |
SchemaTree.getContext()
Get the current resolution context
|
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 |
InlineSchemaTree.containsRef(JsonRef ref) |
boolean |
CanonicalSchemaTree.containsRef(JsonRef ref) |
boolean |
SchemaTree.containsRef(JsonRef ref)
Tell whether a JSON Reference is contained within this schema tree
|
JsonPointer |
InlineSchemaTree.matchingPointer(JsonRef ref) |
JsonPointer |
CanonicalSchemaTree.matchingPointer(JsonRef ref) |
JsonPointer |
SchemaTree.matchingPointer(JsonRef ref)
Return a matching pointer in this tree for a fully resolved reference
|
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,
Dereferencing dereferencing)
The main constructor
|
BaseSchemaTree(JsonRef loadingRef,
JsonNode baseNode,
JsonPointer pointer,
Dereferencing dereferencing,
boolean valid) |
CanonicalSchemaTree(JsonRef loadingRef,
JsonNode baseNode) |
InlineSchemaTree(JsonRef loadingRef,
JsonNode baseNode) |
Copyright © 2013. All Rights Reserved.