Uses of Interface
com.composum.sling.clientlibs.handle.ClientlibElement
-
Packages that use ClientlibElement Package Description com.composum.sling.clientlibs.handle com.composum.sling.clientlibs.processor com.composum.sling.clientlibs.service com.composum.sling.clientlibs.servlet -
-
Uses of ClientlibElement in com.composum.sling.clientlibs.handle
Classes in com.composum.sling.clientlibs.handle that implement ClientlibElement Modifier and Type Class Description class
Clientlib
Models a client library, containing one or several ClientlibResourceFolders.class
ClientlibCategory
Models a category of client libraries.class
ClientlibExternalUri
Models a reference to external URLs - as links, js or css.class
ClientlibFile
Models a file that is referenced by a client library.class
ClientlibResourceFolder
Models a resource folder for aClientlib
- this can be the folder js/css directly below it, or a lower level folder.Methods in com.composum.sling.clientlibs.handle that return ClientlibElement Modifier and Type Method Description ClientlibElement
ClientlibVisitor. getOwner()
The ClientlibElement (clientlib or category) whose embedded elements this visitor processes; clientlibs or categories as dependency will be processed by their own visitor.Methods in com.composum.sling.clientlibs.handle that return types with arguments of type ClientlibElement Modifier and Type Method Description List<ClientlibElement>
ClientlibResourceFolder. getChildren()
Returns all children - eitherClientlibResourceFolder
as well, orClientlibFile
. -
Uses of ClientlibElement in com.composum.sling.clientlibs.processor
Fields in com.composum.sling.clientlibs.processor declared as ClientlibElement Modifier and Type Field Description protected ClientlibElement
AbstractClientlibVisitor. owner
The clientlib or category which this visitor processes - i.e., which owns embedded stuff.Methods in com.composum.sling.clientlibs.processor that return ClientlibElement Modifier and Type Method Description ClientlibElement
AbstractClientlibVisitor. getOwner()
Methods in com.composum.sling.clientlibs.processor that return types with arguments of type ClientlibElement Modifier and Type Method Description protected List<ClientlibElement>
AbstractClientlibVisitor. removeMinificationDuplicates(List<ClientlibElement> children)
Methods in com.composum.sling.clientlibs.processor with parameters of type ClientlibElement Modifier and Type Method Description protected abstract ClientlibVisitor
AbstractClientlibVisitor. createVisitorFor(ClientlibElement element)
Creates a new visitor for the given clientlib or category as owner.protected ClientlibVisitor
ProcessingVisitor. createVisitorFor(ClientlibElement element)
protected ClientlibVisitor
ProcessingVisitor.ExcludeDependenciesVisitor. createVisitorFor(ClientlibElement element)
protected ClientlibVisitor
RenderingVisitor. createVisitorFor(ClientlibElement element)
protected ClientlibVisitor
UpdateTimeVisitor. createVisitorFor(ClientlibElement element)
protected ClientlibVisitor
AbstractClientlibVisitor. getVisitorFor(ClientlibVisitor.VisitorMode mode, ClientlibElement element)
Returns the appropriate visitor for the given mode and element: if mode=DEPENDS and element is a clientlib or category.protected void
RenderingVisitor. render(ClientlibVisitor.VisitorMode mode, ClientlibElement element, ClientlibResourceFolder parent)
void
AbstractClientlibRenderer. renderClientlibLinks(ClientlibElement clientlib, Writer writer, org.apache.sling.api.SlingHttpServletRequest request, RendererContext context)
protected void
AbstractClientlibRenderer. renderClientlibLinks(ClientlibElement clientlib, Writer writer, org.apache.sling.api.SlingHttpServletRequest request, RendererContext context, String template)
Method parameters in com.composum.sling.clientlibs.processor with type arguments of type ClientlibElement Modifier and Type Method Description protected List<ClientlibElement>
AbstractClientlibVisitor. removeMinificationDuplicates(List<ClientlibElement> children)
Constructors in com.composum.sling.clientlibs.processor with parameters of type ClientlibElement Constructor Description AbstractClientlibVisitor(ClientlibElement owner, ClientlibService service, org.apache.sling.api.resource.ResourceResolver resolver, LinkedHashSet<ClientlibLink> processedElements)
ExcludeDependenciesVisitor(ClientlibElement owner, ClientlibService service, org.apache.sling.api.resource.ResourceResolver resolver, LinkedHashSet<ClientlibLink> processedElements)
ProcessingVisitor(ClientlibElement owner, ClientlibService service, OutputStream output, ClientlibProcessor processor, ProcessorContext context)
Instantiates a new Processing visitor.RenderingVisitor(ClientlibElement owner, RendererContext context)
RenderingVisitor(ClientlibElement owner, RendererContext context, List<ClientlibLink> linksToRender, LinkedHashSet<ClientlibLink> processedElements)
UpdateTimeVisitor(ClientlibElement owner, ClientlibService service, org.apache.sling.api.resource.ResourceResolver resolver)
UpdateTimeVisitor(ClientlibElement owner, ClientlibService service, org.apache.sling.api.resource.ResourceResolver resolver, LinkedHashSet<ClientlibLink> processedElements)
-
Uses of ClientlibElement in com.composum.sling.clientlibs.service
Methods in com.composum.sling.clientlibs.service that return ClientlibElement Modifier and Type Method Description ClientlibElement
ClientlibService. resolve(ClientlibRef ref, org.apache.sling.api.resource.ResourceResolver resolver)
Resolves the element corresponding to the ref.ClientlibElement
DefaultClientlibService. resolve(ClientlibRef ref, org.apache.sling.api.resource.ResourceResolver resolver)
Methods in com.composum.sling.clientlibs.service with parameters of type ClientlibElement Modifier and Type Method Description void
ClientlibRenderer. renderClientlibLinks(ClientlibElement clientlib, Writer writer, org.apache.sling.api.SlingHttpServletRequest request, RendererContext context)
Renders the given clientlib / category to writer.void
ClientlibService. renderClientlibLinks(ClientlibElement clientlib, Writer writer, org.apache.sling.api.SlingHttpServletRequest request, RendererContext context)
Renders the references to the ressources of the clientlibs into the page.void
DefaultClientlibService. renderClientlibLinks(ClientlibElement clientlib, Writer writer, org.apache.sling.api.SlingHttpServletRequest request, RendererContext context)
-
Uses of ClientlibElement in com.composum.sling.clientlibs.servlet
Methods in com.composum.sling.clientlibs.servlet with parameters of type ClientlibElement Modifier and Type Method Description protected ClientlibVisitor
ClientlibDebugConsolePlugin.DebugVisitor. createVisitorFor(ClientlibElement element)
protected String
ClientlibDebugConsolePlugin.Processor. normalizePath(ClientlibRef ref, ClientlibElement clientlib)
Returns the path as it would be in a clientlib reference: relative to search path or a category linkConstructors in com.composum.sling.clientlibs.servlet with parameters of type ClientlibElement Constructor Description DebugVisitor(ClientlibElement owner, ClientlibService service, org.apache.sling.api.resource.ResourceResolver resolver, PrintWriter writer)
-