org.apache.myfaces.html5.renderkit.util
Class ResourceUtils

java.lang.Object
  extended by org.apache.myfaces.html5.renderkit.util.ResourceUtils

public class ResourceUtils
extends Object


Field Summary
static String JAVAX_FACES_LIBRARY_NAME
           
static String JSF_JS_RESOURCE_NAME
           
 
Constructor Summary
ResourceUtils()
           
 
Method Summary
static boolean isRenderedScript(javax.faces.context.FacesContext facesContext, String libraryName, String resourceName)
           
static void markScriptAsRendered(javax.faces.context.FacesContext facesContext, String libraryName, String resourceName)
           
static void renderDefaultJsfJsInlineIfNecessary(javax.faces.context.FacesContext facesContext, javax.faces.context.ResponseWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVAX_FACES_LIBRARY_NAME

public static final String JAVAX_FACES_LIBRARY_NAME
See Also:
Constant Field Values

JSF_JS_RESOURCE_NAME

public static final String JSF_JS_RESOURCE_NAME
See Also:
Constant Field Values
Constructor Detail

ResourceUtils

public ResourceUtils()
Method Detail

renderDefaultJsfJsInlineIfNecessary

public static void renderDefaultJsfJsInlineIfNecessary(javax.faces.context.FacesContext facesContext,
                                                       javax.faces.context.ResponseWriter writer)
                                                throws IOException
Throws:
IOException

isRenderedScript

public static boolean isRenderedScript(javax.faces.context.FacesContext facesContext,
                                       String libraryName,
                                       String resourceName)

markScriptAsRendered

public static void markScriptAsRendered(javax.faces.context.FacesContext facesContext,
                                        String libraryName,
                                        String resourceName)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.