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 nextResourceReferenceHandlerin the chain.ResourceReferenceHandlerManager<T> The Resource Handler Manager's goal is to locate the rightResourceReferenceHandlerimplementations to call in the right order.ResourceReferenceManager Allow getting theResourceReferenceobject from the Execution Context.ResourceReferenceResolver<T> Transforms some representation of an XWiki Resource Reference (aka a URI) into aResourceReferenceinstance.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 aResourceTypeinstance. -
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 anResourceReferenceobject.CreateResourceTypeException Means that an error occurred while trying to construct anResourceTypeobject.NotFoundResourceHandlerException Whenever a Resource Handler doesn't exist for handling a given Resource Reference.ResourceReferenceCreationException Means that an error occurred while trying to construct anResourceReferenceobject.ResourceReferenceHandlerException Represents a problem when handling aResourceReference.SerializeResourceReferenceException Means that an error occurred while trying to serialize aResourceReferenceobject.UnsupportedResourceReferenceException Means the Resource Reference is of a type for which we don't have an implementation for.