Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.3.5.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.resource.external
Class ExternalMapping

    java.lang.Object
      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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.3.5.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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