Uses of Class
com.janeirodigital.shapetrees.core.resources.InstanceResource
Packages that use InstanceResource
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of InstanceResource in com.janeirodigital.shapetrees.client.okhttp
Methods in com.janeirodigital.shapetrees.client.okhttp that return InstanceResourceModifier and TypeMethodDescriptionOkHttpResourceAccessor.createResource
(ShapeTreeContext context, URL url, ResourceAttributes attributes, String body, String contentType) OkHttpResourceAccessor.getResource
(ShapeTreeContext context, URL url) Get aInstanceResource
at the providedurl
, which may or may not exist.Methods in com.janeirodigital.shapetrees.client.okhttp with parameters of type InstanceResourceModifier and TypeMethodDescriptionOkHttpResourceAccessor.deleteResource
(ShapeTreeContext context, InstanceResource deleteResource) Deletes the providedInstanceResource
deleteResource
OkHttpResourceAccessor.updateResource
(ShapeTreeContext context, InstanceResource updateResource, String body) -
Uses of InstanceResource in com.janeirodigital.shapetrees.core.helpers
Methods in com.janeirodigital.shapetrees.core.helpers with parameters of type InstanceResourceModifier and TypeMethodDescriptionstatic org.apache.jena.graph.Graph
RequestHelper.getIncomingBodyGraph
(ShapeTreeRequest shapeTreeRequest, URL baseUrl, InstanceResource targetResource) Loads body of request into graph -
Uses of InstanceResource in com.janeirodigital.shapetrees.core.resources
Subclasses of InstanceResource in com.janeirodigital.shapetrees.core.resourcesModifier and TypeClassDescriptionclass
A ManageableResource represents a regular resource that could be managed by one or more shape trees.class
A ManagedResource indicates that a given ManageableResource is managed by a shape tree.class
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.class
A MissingManageableResource represents a state where a given ManageableResource at a URL does not exist.class
A MissingManagerResource represents a state where a given ManagerResource at a URL does not exist.class
An UnmanagedResource indicates that a given ManageableResource is not managed by a shape tree.Methods in com.janeirodigital.shapetrees.core.resources that return InstanceResourceModifier and TypeMethodDescriptionResourceAccessor.createResource
(ShapeTreeContext context, URL resourceUrl, ResourceAttributes headers, String body, String contentType) Creates a specificInstanceResource
identified by the providedresourceUrl
.ResourceAccessor.getResource
(ShapeTreeContext context, URL resourceUrl) Gets a specificInstanceResource
identified by the providedresourceUrl
.Methods in com.janeirodigital.shapetrees.core.resources with parameters of type InstanceResourceModifier and TypeMethodDescriptionResourceAccessor.deleteResource
(ShapeTreeContext context, InstanceResource deleteResource) Deletes a specificInstanceResource
identified by the providedupdatedResource
ResourceAccessor.updateResource
(ShapeTreeContext context, InstanceResource updatedResource, String body) Updates a specificInstanceResource
identified by the providedupdatedResource