com.opensymphony.webwork.sitegraph.entities
Class FileBasedView

java.lang.Object
  extended by com.opensymphony.webwork.sitegraph.entities.FileBasedView
All Implemented Interfaces:
View
Direct Known Subclasses:
FreeMarkerView, JspView, VelocityView

public abstract class FileBasedView
extends Object
implements View

User: plightbo Date: Jun 25, 2005 Time: 2:07:43 PM


Field Summary
 
Fields inherited from interface com.opensymphony.webwork.sitegraph.entities.View
TYPE_FTL, TYPE_JSP, TYPE_VM
 
Constructor Summary
FileBasedView(File file)
           
 
Method Summary
protected abstract  Pattern getActionPattern()
           
protected abstract  Pattern getFormPattern()
           
protected  Pattern getLinkPattern()
           
 String getName()
          Name of view file
 Set getTargets()
          Returns Set of Commands linked to by this view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileBasedView

public FileBasedView(File file)
Method Detail

getName

public String getName()
Description copied from interface: View
Name of view file

Specified by:
getName in interface View
Returns:
The name of the view file.

getTargets

public Set getTargets()
Description copied from interface: View
Returns Set of Commands linked to by this view

Specified by:
getTargets in interface View
Returns:
a set of Targets

getLinkPattern

protected Pattern getLinkPattern()

getActionPattern

protected abstract Pattern getActionPattern()

getFormPattern

protected abstract Pattern getFormPattern()

WebWork Project Page