org.jasig.resource.aggr.util
Interface ResourcesElementsProvider

All Known Implementing Classes:
ResourcesElementsProviderImpl

public interface ResourcesElementsProvider

Version:
$Revision: 21789 $
Author:
Eric Dalquist

Method Summary
 Included getDefaultIncludedType()
          They type of resources to be returned by default
 Included getIncludedType(javax.servlet.http.HttpServletRequest request)
          They type of resources to be returned for this request
 String getResourcesParameter(javax.servlet.http.HttpServletRequest request, String skinXml, String name)
          Get the specified skin parameter, null if there is no parameter with the specified name
 NodeList getResourcesXmlFragment(javax.servlet.http.HttpServletRequest request, String skinXml)
          Get an XML NodeList of link and script tags for the specified skin.
 void setDefaultIncludedType(Included included)
          Set the default include type for resources.
 

Method Detail

setDefaultIncludedType

void setDefaultIncludedType(Included included)
Set the default include type for resources. Included.PLAIN results in un-aggregated resources being returned. Included.AGGREGATED results in aggregated resources being returned. Included.BOTH is not supported as an argument here.


getDefaultIncludedType

Included getDefaultIncludedType()
They type of resources to be returned by default


getIncludedType

Included getIncludedType(javax.servlet.http.HttpServletRequest request)
They type of resources to be returned for this request


getResourcesParameter

String getResourcesParameter(javax.servlet.http.HttpServletRequest request,
                             String skinXml,
                             String name)
Get the specified skin parameter, null if there is no parameter with the specified name


getResourcesXmlFragment

NodeList getResourcesXmlFragment(javax.servlet.http.HttpServletRequest request,
                                 String skinXml)
Get an XML NodeList of link and script tags for the specified skin. Uses getIncludedType(HttpServletRequest) to determine which resource URLs to use.



Copyright © 2010 Jasig. All Rights Reserved.