Package org.xwiki.resource
-
Interface Summary Interface Description ResourceLoader<T extends ResourceReference> Load Resources pointed to by Resource Reference as a Input Stream.ResourceReference Represents a reference to an XWiki Resource (Entity Resource, Attachment Resource, Template Resource, etc).ResourceReferenceHandler<T> Handles a givenResourceReference
.ResourceReferenceHandlerChain Allows calling the nextResourceReferenceHandler
in the chain.ResourceReferenceHandlerManager<T> The Resource Handler Manager's goal is to locate the rightResourceReferenceHandler
implementations to call in the right order.ResourceReferenceManager Allow getting theResourceReference
object from the Execution Context.ResourceReferenceResolver<T> Transforms some representation of an XWiki Resource Reference (aka a URI) into aResourceReference
instance.ResourceReferenceSerializer<T extends ResourceReference,U> Transforms a Resource Reference into some other representation (eg URL).ResourceTypeResolver<T> Transforms some representation of an XWiki Resource Type into aResourceType
instance. -
Class Summary Class Description AbstractResourceReference Base XWiki Resource Reference implementation common to all extending classes.AbstractResourceReferenceHandler<T> Helper to implement Resource Handlers, providing some default implementation.ResourceType Represents the type of Resource (eg Entity, Temporary, etc). -
Exception Summary Exception Description CreateResourceReferenceException Means that an error occurred while trying to construct anResourceReference
object.CreateResourceTypeException Means that an error occurred while trying to construct anResourceType
object.NotFoundResourceHandlerException Whenever a Resource Handler doesn't exist for handling a given Resource Reference.ResourceReferenceCreationException Means that an error occurred while trying to construct anResourceReference
object.ResourceReferenceHandlerException Represents a problem when handling aResourceReference
.SerializeResourceReferenceException Means that an error occurred while trying to serialize aResourceReference
object.UnsupportedResourceReferenceException Means the Resource Reference is of a type for which we don't have an implementation for.