Class PageResolver

  extended by org.apache.myfaces.trinidad.context.PageResolver

public abstract class PageResolver
extends 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.)

Constructor Summary
protected PageResolver()
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)
Performs mapping from a logical view ID to the physical page URI.

viewId - the logical view ID.
the URI of the page.


public abstract String encodeActionURI(String actionURI)
Encodes an action URI.

Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.