org.apache.myfaces.view.facelets.el
Class ResourceELUtils

java.lang.Object
  extended by org.apache.myfaces.view.facelets.el.ResourceELUtils

public class ResourceELUtils
extends Object

Utility class when used in EL Expressions --> #{resource}

Author:
Leonardo Uribe

Field Summary
static Pattern RESOURCE_EXPRESSION_REGEX
           
static String RESOURCE_LOCATION_KEY
           
 
Constructor Summary
ResourceELUtils()
           
 
Method Summary
static Location getResourceLocationForResolver(FacesContext facesContext)
           
static boolean isResourceExpression(String expression)
           
static void removeResourceLocationForResolver(FacesContext facesContext)
           
static void saveResourceLocationForResolver(FacesContext facesContext, Location location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_EXPRESSION_REGEX

public static final Pattern RESOURCE_EXPRESSION_REGEX

RESOURCE_LOCATION_KEY

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

ResourceELUtils

public ResourceELUtils()
Method Detail

isResourceExpression

public static boolean isResourceExpression(String expression)

getResourceLocationForResolver

public static Location getResourceLocationForResolver(FacesContext facesContext)

saveResourceLocationForResolver

public static void saveResourceLocationForResolver(FacesContext facesContext,
                                                   Location location)

removeResourceLocationForResolver

public static void removeResourceLocationForResolver(FacesContext facesContext)


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