Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCEPT - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- ACL - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- add(ShapeTreeAssignment, ValidationResult) - Method in class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- addAssignment(ShapeTreeAssignment) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
-
Add a
ShapeTreeAssignment
to the ShapeTreeManager. - addHttpHeader(HttpHeader, String) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Add the HTTP header identified by
name
with the providedvalue
. - addHttpHeader(HttpHeader, String, Headers) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Add the HTTP header identified by
name
with the providedvalue
. - addLinkRelationHeader(LinkRelation, String) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Add an HTTP Link Relation header of
type
with the providedtarget
. - addLinkRelationHeader(LinkRelation, String, Headers) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Add an HTTP Link Relation header of
type
with the providedtarget
. - allRemoved() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- allValues(String) - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
Returns an unmodifiable List of all of the header string values of the given named header.
- assign(ResourceAccessor, ManageableInstance, ShapeTreeContext, ShapeTreeManager, ShapeTreeAssignment, ShapeTreeAssignment, ValidationResult) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
- ASSIGNS_SHAPE_TREE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- attributes - Variable in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
- attributesToHeaders(ResourceAttributes) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Converts "multi map" representation of attributes to the OkHttp Headers class public for OkHttpValidatingShapeTreeInterceptor.createResponse
- AUTHORIZATION - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
B
- BASIC_CONTAINER - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.LdpVocabulary
- BREADTH_FIRST - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.RecursionMethod
- buildContextFromRequest(ShapeTreeRequest) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
-
Builds a ShapeTreeContext from the incoming request.
C
- CACHE_IS_NOT_INITIALIZED - Static variable in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- calculateManagedUrl(URL, ResourceAttributes) - Static method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Looks for the presence of the http://www.w3.org/ns/shapetrees#manages HTTP Link Relation in the provided
attributes
, with a valid target URL of aManagedResource
. - canEqual(Object) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- check(Response) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
- checkResponse(Response) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Check the provided
response
for viability - checkStringAsUrl(String) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Check the validity of a URL string value
- clearCache() - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- clearCache() - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeFactory
-
Clears the local shape tree cache
- clearCache() - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
-
Clears the local shape tree resource cache
- com.janeirodigital.shapetrees.client.okhttp - package com.janeirodigital.shapetrees.client.okhttp
-
Implementation of client-side shape tree validation using the OkHttp HTTP client for Java.
- com.janeirodigital.shapetrees.core.annotations - package com.janeirodigital.shapetrees.core.annotations
-
Custom annotations used by shapetrees-java
- com.janeirodigital.shapetrees.core.comparators - package com.janeirodigital.shapetrees.core.comparators
- com.janeirodigital.shapetrees.core.contentloaders - package com.janeirodigital.shapetrees.core.contentloaders
- com.janeirodigital.shapetrees.core.enums - package com.janeirodigital.shapetrees.core.enums
- com.janeirodigital.shapetrees.core.exceptions - package com.janeirodigital.shapetrees.core.exceptions
- com.janeirodigital.shapetrees.core.helpers - package com.janeirodigital.shapetrees.core.helpers
- com.janeirodigital.shapetrees.core.resources - package com.janeirodigital.shapetrees.core.resources
- com.janeirodigital.shapetrees.core.validation - package com.janeirodigital.shapetrees.core.validation
- com.janeirodigital.shapetrees.core.vocabularies - package com.janeirodigital.shapetrees.core.vocabularies
- compare(ManageableInstance, ManageableInstance) - Method in class com.janeirodigital.shapetrees.core.comparators.ResourceTypeAssignmentPriority
- compare(URL, URL) - Method in class com.janeirodigital.shapetrees.core.comparators.ShapeTreeContainsPriority
- CONNECT - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- CONTAINER - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ShapeTreeResourceType
- CONTAINER - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.LdpVocabulary
- CONTAINER - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- ContainingValidationResult - Class in com.janeirodigital.shapetrees.core.validation
- ContainingValidationResult() - Constructor for class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- ContainingValidationResult(boolean, String) - Constructor for class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- CONTAINS - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.LdpVocabulary
- CONTAINS - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- containsSameUrl(ShapeTreeAssignment, List<ShapeTreeAssignment>) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- containsSchema(URL) - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- containsType(String) - Method in class com.janeirodigital.shapetrees.core.resources.RelationAttributes
- CONTENT_TYPE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- ContentType - Enum Class in com.janeirodigital.shapetrees.core.enums
-
Enumerated list of applicable HTTP Content-Type values
- createErrorResponse(Request, ShapeTreeException) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
- createInstanceResource(ResourceAccessor, ShapeTreeContext, URL, ResourceAttributes, String, String) - Static method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Creates the resource identified by the provided
resourceUrl
and gets a correspondingManageableInstance
. - createInvalidResponse(Request, ContainingValidationResult) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
- createInvalidResponse(Request, ValidationResult) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
- createResource(ShapeTreeContext, URL, ResourceAttributes, String, String) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpResourceAccessor
- createResource(ShapeTreeContext, URL, ResourceAttributes, String, String) - Method in interface com.janeirodigital.shapetrees.core.resources.ResourceAccessor
-
Creates a specific
InstanceResource
identified by the providedresourceUrl
. - createResponse(Request, int) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
D
- DELETE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- deleteHttpResource(OkHttpClient, URL, String) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Call
OkHttpHelper.deleteHttpResource(OkHttpClient, URL, String, Headers)
without any additional headers supplied - deleteHttpResource(OkHttpClient, URL, String, Headers) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Perform an HTTP DELETE on the resource at
url
. - deleteResource(ShapeTreeContext, InstanceResource) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpResourceAccessor
-
Deletes the provided
InstanceResource
deleteResource
- deleteResource(ShapeTreeContext, InstanceResource) - Method in interface com.janeirodigital.shapetrees.core.resources.ResourceAccessor
-
Deletes a specific
InstanceResource
identified by the providedupdatedResource
- DEPTH_FIRST - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.RecursionMethod
- DESCRIBED_BY - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- discover(OkHttpClient, ShapeTreeContext, URL) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeClient
-
Discover the ShapeTreeManager associated with a given target resource.
- DocumentLoaderManager - Class in com.janeirodigital.shapetrees.core.contentloaders
-
Utility class which allows an external document loader to be set by calling code, and then utilized by other code that doesn't require special knowledge of specific document loader implementations.
- DocumentResponse - Class in com.janeirodigital.shapetrees.core.resources
- DocumentResponse(ResourceAttributes, String, int) - Constructor for class com.janeirodigital.shapetrees.core.resources.DocumentResponse
- DocumentResponseHelper - Class in com.janeirodigital.shapetrees.core.helpers
E
- equals(Object) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- evaluate(ShapeTreeManager, ShapeTreeManager) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
-
Compares an updated ShapeTreeManager (updatedManager) with an existing one (existingManager).
- ExcludeFromGeneratedCoverage - Annotation Interface in com.janeirodigital.shapetrees.core.annotations
-
This annotation can be used to exclude select methods from code coverage processing.
- EXPECTS_TYPE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- ExternalDocumentLoader - Interface in com.janeirodigital.shapetrees.core.contentloaders
-
Interface defining how a remote document can be loaded and its contents extracted.
F
- findChildReference(ShapeTree, URL) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
- firstValue(String) - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
Returns an
Optional
containing the first header string value of the given named (and possibly multi-valued) header. - FOCUS_NODE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- FOCUS_NODE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
G
- get() - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingClientFactory
-
Customized the basic OkHttpClient received from the configured
OkHttpClientFactory
with an interceptor to provide client-side shape tree validation. - get(String) - Static method in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- GET - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- getAssignmentForRoot(ShapeTreeAssignment) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- getAssignmentForShapeTree(URL) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- getAssignments() - Method in class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- getAssignments() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- getAttributes() - Method in class com.janeirodigital.shapetrees.core.resources.InstanceResource
- getBody() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getBody() - Method in class com.janeirodigital.shapetrees.core.resources.DocumentResponse
- getBody() - Method in class com.janeirodigital.shapetrees.core.resources.InstanceResource
- getBody() - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getBody() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
- getContainedInstances() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Gets a list of
ManageableInstance
s contained in a managed resource that is a container. - getContainingAssignments() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- getContains() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getContentType() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getContentType() - Method in class com.janeirodigital.shapetrees.core.resources.DocumentResponse
- getContentType() - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getContentType() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
- getCredentials() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeContext
- getEmptyGraph() - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Creates an empty Graph with initialized prefixes
- getEntries() - Method in class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- getExistingManager() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- getExpectedResourceType() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getFactory() - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpClientFactoryManager
- getFocusNode() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- getFromGraph(URL, Graph) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- getFromGraph(URL, Graph) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- getGraph() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
-
Get the ShapeTreeManager as an RDF Graph
- getGraph(URL) - Method in class com.janeirodigital.shapetrees.core.resources.InstanceResource
-
Get an RDF graph of the body of the InstanceResource.
- getHeader(DocumentResponse, HttpHeader) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Gets the string value of the http header
header
stored in the ResourceAttributes of the providedresponse
. - getHeader(ResourceAttributes, HttpHeader) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Gets the string value of the http header
header
stored in the providedattributes
. - getHeaders() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getHeaders() - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getHeaderValue(String) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getHeaderValue(String) - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getHeaderValues(String) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getHeaderValues(String) - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getHttpResource(OkHttpClient, URL, String) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Calls
OkHttpHelper.getHttpResource(OkHttpClient, URL, String, Headers)
without any additional headers supplied. - getHttpResource(OkHttpClient, URL, String, Headers) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Perform an HTTP GET on the resource at
url
. - getId() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getId() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- getIncomingBodyGraph(ShapeTreeRequest, URL, InstanceResource) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
-
Loads body of request into graph
- getIncomingFocusNodes(ShapeTreeRequest, URL) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
- getIncomingParentContainerUrl(ShapeTreeRequest) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
-
Get the URL of the incoming resource target's parent container
- getIncomingResourceType(ShapeTreeRequest) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
-
Determines the type of resource represented by an incoming ShapeTreeRequest.
- getIncomingShapeTreeManager(ShapeTreeRequest, ManagerResource) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
- getIncomingTargetShapeTrees(ShapeTreeRequest, URL) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
-
Gets target shape tree / hint from request header
- getInstance(ResourceAccessor, ShapeTreeContext, URL) - Static method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Return a
ManageableInstance
constructed starting with the resource identified by the providedresourceUrl
. - getLabel() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getLangForContentType(String) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Determine the Jena language (graph serialization type) based on a content type string
- getLinkHeaders() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getLinkHeaders() - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getLinkHeaders(DocumentResponse) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Gets a list of string values for HTTP Link headers stored in the provided
response
- getLinkRelation(ResourceAttributes, LinkRelation) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Gets a single link relation value from the provided
linkRelations
map of HTTP Link Relations - getLinkRelations(DocumentResponse) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Extracts HTTP Link Relations from the HTTP Headers of the provided
response
. - getLinkRelationString(LinkRelation, String) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Get a formatted HTTP Link Relation string in compliance with RFC 8288
- getLoader() - Static method in class com.janeirodigital.shapetrees.core.contentloaders.DocumentLoaderManager
-
Return an ExternalDocumentLoader that was previously set and stored statically
- getLocalResourceCache() - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
- getLocalShapeTreeCache() - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeFactory
- getManageableResource() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
- getManagedResource() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- getManagedResourceUrl() - Method in class com.janeirodigital.shapetrees.core.resources.ManagerResource
- getManager() - Method in class com.janeirodigital.shapetrees.core.resources.ManagerResource
-
Get a ShapeTreeManager from the body of the ManagerResource
- getManagerResource() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
- getManagerResourceUrl() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableResource
- getManagingAssignment() - Method in class com.janeirodigital.shapetrees.core.validation.ValidationResult
- getMatchingFocusNode() - Method in class com.janeirodigital.shapetrees.core.validation.ValidationResult
- getMatchingShapeTree() - Method in class com.janeirodigital.shapetrees.core.validation.ValidationResult
- getMessage() - Method in exception com.janeirodigital.shapetrees.core.exceptions.ShapeTreeException
- getMessage() - Method in class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- getMessage() - Method in class com.janeirodigital.shapetrees.core.validation.ValidationResult
- getMethod() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getMethod() - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getModel() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
- getName() - Method in class com.janeirodigital.shapetrees.core.resources.InstanceResource
- getOkHttpClient() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpBasicClientFactory
-
Get an OkHttpClient without any special configuration or settings
- getOkHttpClient() - Method in interface com.janeirodigital.shapetrees.client.okhttp.OkHttpClientFactory
-
Reuses or constructs a new regular OkHttpClient
- getPredicate() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
- getPrioritizedContains() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getPropertyFromReference(ShapeTreeReference) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
- getReferencedShapeTrees() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getReferencedShapeTrees(RecursionMethod) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getReferences() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getReferenceUrl() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
- getRemovedAssignments() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- getResource(ShapeTreeContext, URL) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpResourceAccessor
-
Get a
InstanceResource
at the providedurl
, which may or may not exist. - getResource(ShapeTreeContext, URL) - Method in interface com.janeirodigital.shapetrees.core.resources.ResourceAccessor
-
Gets a specific
InstanceResource
identified by the providedresourceUrl
. - getResourceAccessor() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
- getResourceAttributes() - Method in class com.janeirodigital.shapetrees.core.resources.DocumentResponse
- getResourceType() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getResourceType() - Method in class com.janeirodigital.shapetrees.core.resources.InstanceResource
- getResourceType() - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getResourceType(DocumentResponse) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Determine a resource type by parsing Link rel=type headers
- getResults() - Method in class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- getRootAssignment() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- getRootAssignment(ResourceAccessor, ShapeTreeContext, ShapeTreeAssignment) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
- getSchema(URL) - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- getShape() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- getShape() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- getShapePath() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
- getShapeTree() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- getShapeTree(URL) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeFactory
-
Looks up and parses the shape tree at
shapeTreeUrl
. - getShapeTreeContext() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
- getShapeTreeResource(URL) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
-
Looks up and caches the shape tree resource at
resourceUrl
. - getStatusCode() - Method in exception com.janeirodigital.shapetrees.core.exceptions.ShapeTreeException
- getStatusCode() - Method in class com.janeirodigital.shapetrees.core.resources.DocumentResponse
- getTypes() - Method in class com.janeirodigital.shapetrees.core.resources.RelationAttributes
- getUpdatedAssignments() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- getUpdatedManager() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- getUrl() - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- getUrl() - Method in class com.janeirodigital.shapetrees.core.resources.InstanceResource
- getUrl() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- getUrl() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
-
Get the URL (identifier) of the ShapeTreeManager
- getUrl() - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- getUrl() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
- getValidatingShapeTree() - Method in class com.janeirodigital.shapetrees.core.validation.ValidationResult
- getValue() - Method in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- getValue() - Method in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- getValue() - Method in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- getValue() - Method in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- getValue() - Method in enum class com.janeirodigital.shapetrees.core.enums.ShapeTreeResourceType
- GraphHelper - Class in com.janeirodigital.shapetrees.core.helpers
-
Assorted helper methods related to RDF Graphs
H
- HAS_ASSIGNMENT - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- HAS_ROOT_ASSIGNMENT - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- hasContainingAssignments() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- hasCredentials() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeContext
- hashCode() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- HEAD - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- HttpExternalDocumentLoader - Class in com.janeirodigital.shapetrees.core.contentloaders
-
Simple HTTP implementation of ExternalDocumentLoader provided as an example as well as for its utility in unit tests.
- HttpExternalDocumentLoader() - Constructor for class com.janeirodigital.shapetrees.core.contentloaders.HttpExternalDocumentLoader
- HttpHeader - Enum Class in com.janeirodigital.shapetrees.core.enums
- HttpMethod - Enum Class in com.janeirodigital.shapetrees.core.enums
-
Enumerated list of HTTP methods
I
- IF_NONE_MATCH - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- initializeCache() - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- initializeCache(Map<URL, ShexSchema>) - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- InstanceResource - Class in com.janeirodigital.shapetrees.core.resources
-
InstanceResource is a base class which may represent either a ManageableResource (a resource that can be managed by a shape tree), or a ManagerResource (a resource which assigns shape trees to a ManageableResource).
- intercept(Interceptor.Chain) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingShapeTreeInterceptor
-
Key method on Interceptor class which is implemented on an intercepted HTTP call.
- INTEROP_ORIGINATOR - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- INTEROP_WEBID - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- isContainer() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableResource
- isEmpty() - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
Identifies whether the ResourceAttributes are empty
- isExists() - Method in class com.janeirodigital.shapetrees.core.resources.DocumentResponse
- isExists() - Method in class com.janeirodigital.shapetrees.core.resources.InstanceResource
- isInitialized() - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- isManaged() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Indicates whether the ManageableInstance represents a managed state, with a ManagedResource assigned one or more shape trees by a ShapeTreeManager in a ManagerResource
- isRootAssignment() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- isUnmanaged() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Indicates whether the ManageableInstance represents an unmanaged state, with a UnmanagedResource and a MissingManagerResource
- isUpdated() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- isValid() - Method in class com.janeirodigital.shapetrees.core.validation.ContainingValidationResult
- isValid() - Method in class com.janeirodigital.shapetrees.core.validation.ValidationResult
- isWasRequestForManager() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
K
- knownUrl(String) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
L
- LD_JSON - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- LDP - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.Namespaces
- LdpVocabulary - Class in com.janeirodigital.shapetrees.core.vocabularies
- LINK - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- LinkRelation - Enum Class in com.janeirodigital.shapetrees.core.enums
- loadExternalDocument(URL) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpExternalDocumentLoader
-
Load a non-POD document This fulfils the ExternalDocumentLoader interface, so this factory can be use in DocumentLoaderManager.setLoader(new OkHttpShapeTreeClientFactory(...));
- loadExternalDocument(URL) - Method in interface com.janeirodigital.shapetrees.core.contentloaders.ExternalDocumentLoader
-
Describes the retrieval of a remote document
- loadExternalDocument(URL) - Method in class com.janeirodigital.shapetrees.core.contentloaders.HttpExternalDocumentLoader
- LOCATION - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
M
- ManageableInstance - Class in com.janeirodigital.shapetrees.core.resources
-
A ManageableInstance represents a pairing of a shape tree ManagerResource and a ManageableResource.
- ManageableResource - Class in com.janeirodigital.shapetrees.core.resources
-
A ManageableResource represents a regular resource that could be managed by one or more shape trees.
- ManageableResource(URL, ShapeTreeResourceType, ResourceAttributes, String, String, boolean, Optional<URL>) - Constructor for class com.janeirodigital.shapetrees.core.resources.ManageableResource
-
Construct a manageable resource.
- MANAGED_BY - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- ManagedResource - Class in com.janeirodigital.shapetrees.core.resources
-
A ManagedResource indicates that a given ManageableResource is managed by a shape tree.
- ManagedResource(ManageableResource, Optional<URL>) - Constructor for class com.janeirodigital.shapetrees.core.resources.ManagedResource
-
Construct a ManagedResource based on a provided ManageableResource
manageable
andmanagerUrl
- ManagerResource - Class in com.janeirodigital.shapetrees.core.resources
-
A ManagerResource represents a resource that is associated with a regular MangeableResource, and contains metadata in the form of a ShapeTreeManager that assigns one or more shape trees to the associated ManageableResource.
- ManagerResource(URL, ShapeTreeResourceType, ResourceAttributes, String, String, boolean, URL) - Constructor for class com.janeirodigital.shapetrees.core.resources.ManagerResource
-
Construct a manager resource
- MANAGES - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- MANAGES_RESOURCE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- maybePlus(String, String) - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
make a new HttpClientHeaders with the additional attr/value set.
- maybeSet(String, String) - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
set attr to value if both are not null.
- mintAssignmentUrl() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
-
Generates or "mints" a URL for a new ShapeTreeAssignment
- mintAssignmentUrl(URL) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
-
Ensure a proposed URL for a new ShapeTreeAssigment doesn't conflict with other assignment URLs already allocated for the ShapeTreeManager
- MissingManageableResource - Class in com.janeirodigital.shapetrees.core.resources
-
A MissingManageableResource represents a state where a given ManageableResource at a URL does not exist.
- MissingManageableResource(URL, ShapeTreeResourceType, ResourceAttributes, String, String, Optional<URL>) - Constructor for class com.janeirodigital.shapetrees.core.resources.MissingManageableResource
-
Construct a missing manageable resource.
- MissingManagerResource - Class in com.janeirodigital.shapetrees.core.resources
-
A MissingManagerResource represents a state where a given ManagerResource at a URL does not exist.
- MissingManagerResource(MissingManageableResource, URL) - Constructor for class com.janeirodigital.shapetrees.core.resources.MissingManagerResource
-
Construct a missing manager resource based on a MissingManageableResource
- MissingManagerResource(URL, ShapeTreeResourceType, ResourceAttributes, String, String, URL) - Constructor for class com.janeirodigital.shapetrees.core.resources.MissingManagerResource
-
Construct a missing manager resource.
N
- N_TRIPLES - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- Namespaces - Class in com.janeirodigital.shapetrees.core.vocabularies
- newTriple(String, String, Object) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Create a new triple statement with strings
- newTriple(URI, URI, Object) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Create a new triple statement with URIs
- nodeToUrl(Node) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Convert an RDFNode value to URL
- NON_RDF - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ShapeTreeResourceType
- NON_RDF_RESOURCE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- normalizeSolidResourceUrl(URL, String, ShapeTreeResourceType) - Static method in class com.janeirodigital.shapetrees.core.helpers.RequestHelper
-
Normalizes the BaseURL to use for a request based on the incoming request.
O
- OCTET_STREAM - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- OkHttpBasicClientFactory - Class in com.janeirodigital.shapetrees.client.okhttp
-
Basic factory to get a OkHttp HTTP client, implementing
OkHttpClientFactory
. - OkHttpBasicClientFactory() - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpBasicClientFactory
- OkHttpClientFactory - Interface in com.janeirodigital.shapetrees.client.okhttp
-
Constructs OkHttpClients for use by shapetrees-java-client-okhttp
- OkHttpClientFactoryManager - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpExternalDocumentLoader - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpExternalDocumentLoader() - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpExternalDocumentLoader
- OkHttpHelper - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpHelper() - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
- OkHttpResourceAccessor - Class in com.janeirodigital.shapetrees.client.okhttp
-
Allows the
shapetrees-core
to accessManageableInstance
s andInstanceResource
s over the network via HTTP. - OkHttpResourceAccessor() - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpResourceAccessor
- OkHttpShapeTreeClient - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpShapeTreeRequest - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpShapeTreeRequest(Request) - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- OkHttpValidatingClientFactory - Class in com.janeirodigital.shapetrees.client.okhttp
-
Factory to provide OkHttpClient instances where shape tree validation is enabled.
- OkHttpValidatingMethodHandler - Class in com.janeirodigital.shapetrees.client.okhttp
-
Abstract class providing reusable functionality to different method handlers
- OkHttpValidatingMethodHandler(ResourceAccessor) - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingMethodHandler
- OkHttpValidatingPatchMethodHandler - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpValidatingPatchMethodHandler(ResourceAccessor) - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingPatchMethodHandler
- OkHttpValidatingPostMethodHandler - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpValidatingPostMethodHandler(ResourceAccessor) - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingPostMethodHandler
- OkHttpValidatingPutMethodHandler - Class in com.janeirodigital.shapetrees.client.okhttp
- OkHttpValidatingPutMethodHandler(ResourceAccessor) - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingPutMethodHandler
- OkHttpValidatingShapeTreeInterceptor - Class in com.janeirodigital.shapetrees.client.okhttp
-
Interceptor used for client-side validation
- OkHttpValidatingShapeTreeInterceptor() - Constructor for class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingShapeTreeInterceptor
- OPTIONS - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
P
- parseLinkHeaders(List<String>) - Static method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
Re-use HttpClientHeaders to capture link headers as a mapping from link relation to list of values This is really a constructor but a named static function clarifies its intention.
- patch(OkHttpClient, ShapeTreeContext, URL, List<URL>, String) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeClient
- PATCH - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- patchHttpResource(OkHttpClient, URL, String, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Call
OkHttpHelper.patchHttpResource(OkHttpClient, URL, String, Headers, String, ContentType)
without any additional headers supplied - patchHttpResource(OkHttpClient, URL, String, Headers, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Perform an HTTP PATCH on the resource at
url
. - plant(ResourceAccessor, ManageableInstance, ShapeTreeContext, ShapeTreeManager, ShapeTreeManagerDelta) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
-
Plants a shape tree on an existing resource
- plant(OkHttpClient, ShapeTreeContext, URL, URL, URL) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeClient
-
Shape Trees, §4.2: This operation marks an existing resource as being managed by one or more shape trees, by associating a shape tree manager with the resource, and turning it into a managed resource.
- post(OkHttpClient, ShapeTreeContext, URL, List<URL>, List<URL>, String, boolean, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeClient
- POST - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- postHttpResource(OkHttpClient, URL, String, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Call
OkHttpHelper.postHttpResource(OkHttpClient, URL, String, Headers, String, ContentType)
without any additional headers supplied. - postHttpResource(OkHttpClient, URL, String, Headers, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Perform an HTTP POST on the resource at
url
. - put(OkHttpClient, ShapeTreeContext, URL, List<URL>, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeClient
- put(OkHttpClient, ShapeTreeContext, URL, List<URL>, List<URL>, Boolean, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeClient
- PUT - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- putHttpResource(OkHttpClient, URL, String, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Call
OkHttpHelper.putHttpResource(OkHttpClient, URL, String, Headers, String, ContentType)
without any additional headers supplied - putHttpResource(OkHttpClient, URL, String, Headers, String, ContentType) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Perform an HTTP PUT on the resource at
url
. - putSchema(URL, ShexSchema) - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
R
- RDF - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.Namespaces
- RDF_XML - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- RdfVocabulary - Class in com.janeirodigital.shapetrees.core.vocabularies
- readStringIntoGraph(URI, String, String) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Deserializes a string into a Graph
- readStringIntoModel(URI, String, String) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Deserializes a string into a Model
- RecursionMethod - Enum Class in com.janeirodigital.shapetrees.core.enums
- REFERENCES - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- REFERENCES_SHAPE_TREE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- RelationAttributes - Class in com.janeirodigital.shapetrees.core.resources
-
Extension of
ResourceAttributes
used specifically for storage of Link Relation attribute maps - RelationAttributes() - Constructor for class com.janeirodigital.shapetrees.core.resources.RelationAttributes
- reloadInstance(ManageableInstance) - Static method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Return a new version of provided
ManageableInstance
originalInstance
- removeAssignment(ShapeTreeAssignment) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- removeAssignmentForShapeTree(URL) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
- removeUrlFragment(URL) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Remove a fragment from a URL.
- RequestHelper - Class in com.janeirodigital.shapetrees.core.helpers
- RESOURCE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ShapeTreeResourceType
- RESOURCE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- resourceAccessor - Variable in class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingMethodHandler
- ResourceAccessor - Interface in com.janeirodigital.shapetrees.core.resources
-
Interface used by the shape trees core for accessing individual
InstanceResource
s. - ResourceAttributes - Class in com.janeirodigital.shapetrees.core.resources
-
The HttpClientHeaders object is a multi-map with some constructors and put-ers tailored to the shapetrees-java libraries.
- ResourceAttributes() - Constructor for class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
construct a case-insensitive ResourceAttributes container
- ResourceAttributes(String, String) - Constructor for class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
construct a case-insensitive ResourceAttributes container and set attr to value if both are not null.
- ResourceAttributes(Map<String, List<String>>) - Constructor for class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
Construct ResourceAttributes with passed map, which may be case-sensitive.
- ResourceTypeAssignmentPriority - Class in com.janeirodigital.shapetrees.core.comparators
- ResourceTypeAssignmentPriority() - Constructor for class com.janeirodigital.shapetrees.core.comparators.ResourceTypeAssignmentPriority
S
- SchemaCache - Class in com.janeirodigital.shapetrees.core.validation
-
Optional, static cache for pre-compiled ShEx schemas
- setAll(String, List<String>) - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
replaces the list of attrs (without regard to nulls)
- setFactory(OkHttpClientFactory) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpClientFactoryManager
- setHttpHeader(HttpHeader, String) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Set the HTTP header identified by
name
with the providedvalue
. - setHttpHeader(HttpHeader, String, Headers) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpHelper
-
Set the HTTP header identified by
name
with the providedvalue
. - setLoader(ExternalDocumentLoader) - Static method in class com.janeirodigital.shapetrees.core.contentloaders.DocumentLoaderManager
- setResourceType(ShapeTreeResourceType) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeRequest
- setResourceType(ShapeTreeResourceType) - Method in interface com.janeirodigital.shapetrees.core.validation.ShapeTreeRequest
- SHAPE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- ShapeTree - Class in com.janeirodigital.shapetrees.core.validation
- ShapeTree(URL, URL, String, URL, List<ShapeTreeReference>, List<URL>) - Constructor for class com.janeirodigital.shapetrees.core.validation.ShapeTree
- SHAPETREE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.Namespaces
- SHAPETREE_ASSIGNMENT - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- SHAPETREE_MANAGER - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- ShapeTreeAssignment - Class in com.janeirodigital.shapetrees.core.validation
-
ShapeTreeAssignment Shape Trees, §3: Each shape tree assignment identifies a shape tree associated with the managed resource, the focus node for shape validation, and the information needed to navigate the physical hierarchy in which that managed resource resides.
- ShapeTreeAssignment(URL, URL, URL, URL, URL, URL) - Constructor for class com.janeirodigital.shapetrees.core.validation.ShapeTreeAssignment
- ShapeTreeContainsPriority - Class in com.janeirodigital.shapetrees.core.comparators
- ShapeTreeContainsPriority() - Constructor for class com.janeirodigital.shapetrees.core.comparators.ShapeTreeContainsPriority
- ShapeTreeContext - Class in com.janeirodigital.shapetrees.core.validation
- ShapeTreeContext(String) - Constructor for class com.janeirodigital.shapetrees.core.validation.ShapeTreeContext
- ShapeTreeException - Exception in com.janeirodigital.shapetrees.core.exceptions
- ShapeTreeException(int, String) - Constructor for exception com.janeirodigital.shapetrees.core.exceptions.ShapeTreeException
- ShapeTreeFactory - Class in com.janeirodigital.shapetrees.core.validation
-
Provides a factory to look up and initialize ShapeTrees.
- ShapeTreeManager - Class in com.janeirodigital.shapetrees.core.validation
-
ShapeTreeManager Shape Trees, §3: A shape tree manager associates a managed resource with one or more shape trees.
- ShapeTreeManager(URL) - Constructor for class com.janeirodigital.shapetrees.core.validation.ShapeTreeManager
-
Constructor for a new ShapeTreeManager
- ShapeTreeManagerDelta - Class in com.janeirodigital.shapetrees.core.validation
- ShapeTreeManagerDelta() - Constructor for class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- ShapeTreeReference - Class in com.janeirodigital.shapetrees.core.validation
- ShapeTreeReference(URL, String, URL) - Constructor for class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
- ShapeTreeRequest - Interface in com.janeirodigital.shapetrees.core.validation
- ShapeTreeRequestProcessor - Class in com.janeirodigital.shapetrees.core.validation
- ShapeTreeResource - Class in com.janeirodigital.shapetrees.core.validation
-
Represents a resource that contains one or more shape tree definitions.
- ShapeTreeResource(URL, String, String, Model) - Constructor for class com.janeirodigital.shapetrees.core.validation.ShapeTreeResource
- ShapeTreeResourceType - Enum Class in com.janeirodigital.shapetrees.core.enums
- ShapeTreeVocabulary - Class in com.janeirodigital.shapetrees.core.vocabularies
- SLUG - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
- SPARQL_UPDATE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- stringToUrl(String) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Convert the provided URL string value to URL
- stringToUrl(URL, String) - Static method in class com.janeirodigital.shapetrees.core.helpers.DocumentResponseHelper
-
Convert the provided URL string value to a URL, using the provided URL
context
T
- TARGET_SHAPETREE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- TEXT_HTML - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- TEXT_PLAIN - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- TEXT_TURTLE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.ContentType
- TEXT_TURTLE - Static variable in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
- toList(String...) - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
Returns an array with alternating attributes and values.
- toMultimap() - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
-
Returns a map of attributes to lists of values
- toString() - Method in class com.janeirodigital.shapetrees.core.resources.ResourceAttributes
- TRACE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
- TYPE - Enum constant in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
- TYPE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.RdfVocabulary
U
- unassign(ResourceAccessor, ManageableInstance, ShapeTreeContext, ShapeTreeAssignment) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
- unInitializeCache() - Static method in class com.janeirodigital.shapetrees.core.validation.SchemaCache
- UnmanagedResource - Class in com.janeirodigital.shapetrees.core.resources
-
An UnmanagedResource indicates that a given ManageableResource is not managed by a shape tree.
- UnmanagedResource(ManageableResource, Optional<URL>) - Constructor for class com.janeirodigital.shapetrees.core.resources.UnmanagedResource
-
Construct an UnmanagedResource based on a provided ManageableResource
manageable
andmanagerUrl
- unplant(ResourceAccessor, ManageableInstance, ShapeTreeContext, ShapeTreeManagerDelta) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
- unplant(OkHttpClient, ShapeTreeContext, URL, URL) - Static method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpShapeTreeClient
- updateManager(ResourceAccessor, ManageableInstance, ShapeTreeRequest) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
- updateResource(ShapeTreeContext, InstanceResource, String) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpResourceAccessor
- updateResource(ShapeTreeContext, InstanceResource, String) - Method in interface com.janeirodigital.shapetrees.core.resources.ResourceAccessor
-
Updates a specific
InstanceResource
identified by the providedupdatedResource
- urlToUri(URL) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Wrap conversion from URL to URI which should never fail on a well-formed URL.
V
- validateContainedResource(ManageableResource) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- validateContainedResource(ManageableResource, List<URL>, List<URL>) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- validateContainedResource(String, ShapeTreeResourceType, List<URL>, Graph, List<URL>) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- validateCreate(ResourceAccessor, ManageableInstance, ManageableInstance, ShapeTreeRequest, String) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
- validateGraph(Graph, List<URL>) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- validateRequest(Request, ShapeTreeRequest, ShapeTreeContext, ManageableInstance) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingMethodHandler
- validateRequest(Request, ShapeTreeRequest, ShapeTreeContext, ManageableInstance) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingPatchMethodHandler
- validateRequest(Request, ShapeTreeRequest, ShapeTreeContext, ManageableInstance) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingPostMethodHandler
- validateRequest(Request, ShapeTreeRequest, ShapeTreeContext, ManageableInstance) - Method in class com.janeirodigital.shapetrees.client.okhttp.OkHttpValidatingPutMethodHandler
- validateResource(ManageableResource) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- validateResource(ManageableResource, List<URL>) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- validateResource(String, ShapeTreeResourceType, Graph, List<URL>) - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTree
- validateUpdate(ResourceAccessor, ManageableInstance, ShapeTreeRequest) - Static method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeRequestProcessor
- ValidationResult - Class in com.janeirodigital.shapetrees.core.validation
- ValidationResult(boolean, ShapeTree, ShapeTree, ShapeTreeAssignment, URL, String) - Constructor for class com.janeirodigital.shapetrees.core.validation.ValidationResult
- ValidationResult(boolean, ShapeTree, ShapeTree, URL) - Constructor for class com.janeirodigital.shapetrees.core.validation.ValidationResult
- ValidationResult(boolean, ShapeTree, String) - Constructor for class com.janeirodigital.shapetrees.core.validation.ValidationResult
- ValidationResult(boolean, String) - Constructor for class com.janeirodigital.shapetrees.core.validation.ValidationResult
- valueOf(String) - Static method in enum class com.janeirodigital.shapetrees.core.enums.ContentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.janeirodigital.shapetrees.core.enums.RecursionMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.janeirodigital.shapetrees.core.enums.ShapeTreeResourceType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.janeirodigital.shapetrees.core.enums.ContentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.janeirodigital.shapetrees.core.enums.HttpHeader
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.janeirodigital.shapetrees.core.enums.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.janeirodigital.shapetrees.core.enums.LinkRelation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.janeirodigital.shapetrees.core.enums.RecursionMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.janeirodigital.shapetrees.core.enums.ShapeTreeResourceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VIA_PREDICATE - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- VIA_SHAPE_PATH - Static variable in class com.janeirodigital.shapetrees.core.vocabularies.ShapeTreeVocabulary
- viaPredicate() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
- viaShapePath() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeReference
W
- wasReduced() - Method in class com.janeirodigital.shapetrees.core.validation.ShapeTreeManagerDelta
- wasRequestForManager() - Method in class com.janeirodigital.shapetrees.core.resources.ManageableInstance
-
Indicates whether the HTTP request that triggered the initialization of the ManageableInstance was targeted towards the ManagerResource or the ManageableResource.
- writeGraphToTurtleString(Graph) - Static method in class com.janeirodigital.shapetrees.core.helpers.GraphHelper
-
Writes a graph into a turtle serialization
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form