Skip navigation links
org.apache.myfaces.trinidad.context
Class PageResolver
java.lang.Object
org.apache.myfaces.trinidad.context.PageResolver
-
public abstract class PageResolver
- extends java.lang.Object
A page resolver is responsible for determining the physical page to be used for a logical view ID.
By default, the physical page and logical view ID will be identical. To override this, provide a file on the classpath at /META-INF/services/org.apache.myfaces.trinidad.context.PageResolver with the name of the alternative implementation. (There's no current support for decoration, and this general approach may be revisited in the future.)
| Method Summary |
abstract java.lang.String |
encodeActionURI(java.lang.String actionURI)
Encodes an action URI. |
abstract java.lang.String |
getPhysicalURI(java.lang.String viewId)
Performs mapping from a logical view ID to the physical page URI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageResolver
protected PageResolver()
- Constructor.
getPhysicalURI
public abstract java.lang.String getPhysicalURI(java.lang.String viewId)
- Performs mapping from a logical view ID to the physical page URI.
-
- Parameters:
viewId - the logical view ID.
- Returns:
- the URI of the page.
encodeActionURI
public abstract java.lang.String encodeActionURI(java.lang.String actionURI)
- Encodes an action URI.
Skip navigation links
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.