Package net.pwall.json.schema.subschema
Class RefSchema
-
- All Implemented Interfaces:
public final class RefSchema extends JSONSchema.SubSchema
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONSchematargetprivate final Stringfragmentprivate final StringabsoluteLocationprivate final Stringdescriptionprivate final Stringtitleprivate final URIuriprivate final JSONPointerlocation
-
Constructor Summary
Constructors Constructor Description RefSchema(URI uri, JSONPointer location, JSONSchema target, String fragment)
-
Method Summary
Modifier and Type Method Description final JSONSchemagetTarget()final StringgetFragment()JSONPointerchildLocation(JSONPointer pointer)Booleanvalidate(JSONValue json, JSONPointer instanceLocation)BasicOutputvalidateBasic(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)DetailedOutputvalidateDetailed(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)Booleanequals(Object other)IntegerhashCode()-
Methods inherited from class net.pwall.json.schema.JSONSchema
createAnnotation, createBasicError, createBasicErrorEntry, createError, createSubSchemaBasicErrorEntry, createSubSchemaError, getAbsoluteLocation, getDescription, getLocation, getTitle, getUri, validate, validateBasic, validateBasic, validateDetailed, validateDetailed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RefSchema
RefSchema(URI uri, JSONPointer location, JSONSchema target, String fragment)
-
-
Method Detail
-
getTarget
final JSONSchema getTarget()
-
getFragment
final String getFragment()
-
childLocation
JSONPointer childLocation(JSONPointer pointer)
-
validateBasic
BasicOutput validateBasic(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
validateDetailed
DetailedOutput validateDetailed(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-