|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.context.PageResolver
public abstract class PageResolver
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.)
Constructor Summary | |
---|---|
protected |
PageResolver()
Constructor. |
Method Summary | |
---|---|
abstract String |
encodeActionURI(String actionURI)
Encodes an action URI. |
abstract String |
getPhysicalURI(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 |
Constructor Detail |
---|
protected PageResolver()
Method Detail |
---|
public abstract String getPhysicalURI(String viewId)
viewId
- the logical view ID.
public abstract String encodeActionURI(String actionURI)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |