org.jasig.portal.web.skin
Class ResourcesXalanElements

java.lang.Object
  extended by org.jasig.portal.web.skin.ResourcesXalanElements

public class ResourcesXalanElements
extends Object

Used by Xalan to transform a Resources to the correct HTML head elements (script tags for javascript and link tags for css).

Author:
Nicholas Blair, npblair@wisc.edu

Field Summary
static String CURRENT_REQUEST
           
protected  org.apache.commons.logging.Log logger
           
static String SKIN_RESOURCESDAO_PARAMETER_NAME
          Name of Transformer parameter used to retrieve the ResourcesElementsProvider.
 
Constructor Summary
ResourcesXalanElements()
           
 
Method Summary
 NodeList output(org.apache.xalan.extensions.XSLProcessorContext context, org.apache.xalan.templates.ElemExtensionCall elem)
           
 String parameter(org.apache.xalan.extensions.XSLProcessorContext context, org.apache.xalan.templates.ElemExtensionCall elem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger

SKIN_RESOURCESDAO_PARAMETER_NAME

public static final String SKIN_RESOURCESDAO_PARAMETER_NAME
Name of Transformer parameter used to retrieve the ResourcesElementsProvider.


CURRENT_REQUEST

public static final String CURRENT_REQUEST
Constructor Detail

ResourcesXalanElements

public ResourcesXalanElements()
Method Detail

parameter

public String parameter(org.apache.xalan.extensions.XSLProcessorContext context,
                        org.apache.xalan.templates.ElemExtensionCall elem)
                 throws TransformerException
Throws:
TransformerException

output

public NodeList output(org.apache.xalan.extensions.XSLProcessorContext context,
                       org.apache.xalan.templates.ElemExtensionCall elem)
                throws TransformerException
Throws:
TransformerException


Copyright © 2010 Jasig. All Rights Reserved.