Save This Page
Home » openjdk-7 » net.sourceforge » myfaces » webapp » [javadoc | source]
    1   package net.sourceforge.myfaces.webapp;
    2   
    3   import javax.faces.context.FacesContext;
    4   import javax.servlet.ServletContext;
    5   import javax.servlet.ServletRequest;
    6   
    7   /**
    8    * DOCUMENT ME!
    9    * @author Manfred Geiler (latest modification by $Author: manolito $)
   10    * @version $Revision: 1.4 $ $Date: 2003/02/25 13:18:45 $
   11    */
   12   public interface ServletMapping
   13   {
   14       /**
   15        * Converts the given (response) treeId, so that it can be used as the forward
   16        * URL by the ViewHandler or as a filename to parse the current JSP.
   17        * @see net.sourceforge.myfaces.lifecycle.ViewHandlerJspImpl
   18        * @see net.sourceforge.myfaces.renderkit.html.jspinfo.JspTreeParser
   19        */
   20       public String mapTreeIdToFilename(ServletContext servletContext, String treeId);
   21   
   22       /**
   23        * Maps the real URL of a link or form action to an appropriate (virtual) URL that conforms
   24        * to the servlet mapping in web.xml.
   25        */
   26       public String encodeTreeIdForURL(FacesContext facesContext, String treeId);
   27   
   28       /**
   29        * Returns treeId that corresponds to the current request.
   30        */
   31       public String getTreeIdFromRequest(ServletRequest request);
   32   }

Save This Page
Home » openjdk-7 » net.sourceforge » myfaces » webapp » [javadoc | source]