RichFaces Core Implementation 4.3.1.Final-redhat-1

org.richfaces.resource.external
Class ExternalMapping

java.lang.Object
  extended by org.richfaces.resource.external.ExternalMapping

public class ExternalMapping
extends Object

Holds ResourceKey and external resource location in order to create ExternalResource lazily.

Author:
Lukas Fryc

Constructor Summary
ExternalMapping(org.richfaces.resource.ResourceKey resourceKey, String resourceLocation)
           
 
Method Summary
 org.richfaces.resource.external.ExternalResource getResource(javax.faces.context.FacesContext facesContext)
          Creates new ExternalResource for given ResourceKey and external resource location
 String getResourceLocation()
          Returns external resource location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalMapping

public ExternalMapping(org.richfaces.resource.ResourceKey resourceKey,
                       String resourceLocation)
Method Detail

getResource

public org.richfaces.resource.external.ExternalResource getResource(javax.faces.context.FacesContext facesContext)
Creates new ExternalResource for given ResourceKey and external resource location

Parameters:
facesContext - current FacesContext
Returns:
new ExternalResource for given ResourceKey and external resource location

getResourceLocation

public String getResourceLocation()
Returns external resource location

Returns:
external resource location

RichFaces Core Implementation 4.3.1.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.