org.objectweb.telosys.common
Class ResourceView

java.lang.Object
  extended byorg.objectweb.telosys.common.TelosysObject
      extended byorg.objectweb.telosys.common.ResourceView
All Implemented Interfaces:
View

public class ResourceView
extends TelosysObject
implements View

Local resource implementation of the View interface
To use the resource located at the given path as a standard "MVC view"


Constructor Summary
ResourceView(java.lang.String sPath)
           
 
Method Summary
 void generate(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
           
 java.lang.String getTarget()
          Returns the target URL or URI of the View
 
Methods inherited from class org.objectweb.telosys.common.TelosysObject
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceView

public ResourceView(java.lang.String sPath)
Method Detail

getTarget

public java.lang.String getTarget()
Description copied from interface: View
Returns the target URL or URI of the View

Specified by:
getTarget in interface View
Returns:

generate

public void generate(javax.servlet.http.HttpServletRequest httpRequest,
                     javax.servlet.http.HttpServletResponse httpResponse)
              throws TelosysException
Specified by:
generate in interface View
Throws:
TelosysException