Top Fields Constructors Methods
com.sun.faces.facelets.impl

public Class DefaultResourceResolver

extends ResourceResolver
Class Inheritance
Imports
java.net.URL, javax.faces.application.ResourceHandler, .ViewResource, javax.faces.context.FacesContext, javax.faces.view.facelets.ResourceResolver, com.sun.faces.RIConstants

Deprecated

as a consequence of ResourceResolver being deprecated. See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
public static final String
private ResourceHandler
Inherited from javax.faces.view.facelets.ResourceResolver:
FACELETS_RESOURCE_RESOLVER_PARAM_NAME

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public URL
resolveUrl(String
the internal path to the template resource.
path
)

Implements abstract javax.faces.view.facelets.ResourceResolver.resolveUrl.

Returns the URL of a Facelet template file.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

NON_DEFAULT_RESOURCE_RESOLVER_PARAM_NAMEback to summary
public static final String NON_DEFAULT_RESOURCE_RESOLVER_PARAM_NAME
resourceHandlerback to summary
private ResourceHandler resourceHandler

Constructor Detail

DefaultResourceResolverback to summary
public DefaultResourceResolver(ResourceHandler resourceHandler)

Method Detail

resolveUrlback to summary
public URL resolveUrl(String path)

Implements abstract javax.faces.view.facelets.ResourceResolver.resolveUrl.

Doc from javax.faces.view.facelets.ResourceResolver.resolveUrl.

Returns the URL of a Facelet template file. Called by the Facelets Runtime to load a template file referred to in a Facelets page.

Parameters
path:String

the internal path to the template resource.

Returns:URL

the resolved URL.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override