|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.action.Parametrized org.japano.action.ActionMapping
public class ActionMapping
Maps an action to an URI.
Field Summary |
---|
Fields inherited from class org.japano.action.Parametrized |
---|
klass, parameters |
Constructor Summary | |
---|---|
ActionMapping(java.lang.String klass,
java.lang.String tagLibrary,
java.lang.String name)
creates a new action mapping instance |
Method Summary | |
---|---|
void |
addBean(Bean bean)
Adds a bean to this action mapping. |
java.util.Iterator |
beans()
Returns an Iterator over all beans in this action mapping. |
ActionMapping |
getActionMapping()
Returns this |
Bean |
getBean(java.lang.String name)
Returns the bean with the given name or null |
int |
getBeanCount()
Returns the number of beans defined in this action mapping |
java.lang.String |
getExtension()
Getter for property extension. |
Parameter |
getParameter(java.lang.String name)
Returns the parameter with the given name or null |
java.lang.String |
getQualifiedName()
Returns the qualified name of the mapped action. |
java.lang.String |
getRequiredMarker()
Getter for property requiredMarker. |
java.lang.String |
getTagLibrary()
Returns the library URI of the tag of this action mapping. |
java.lang.String |
getTagName()
Returns the name of the tag of this action mapping. |
boolean |
hasTag()
|
boolean |
isPingPong()
Returns true if mapped action is a ping pong action. |
boolean |
isRepeatable()
Getter for property repeatable. |
void |
performAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs the mapped action. |
void |
setExtension(java.lang.String extension)
Setter for property extension. |
void |
setRepeatable(boolean repeatable)
Setter for property repeatable. |
void |
setRequiredMarker(java.lang.String requiredMarker)
Setter for property requiredMarker. |
void |
setTag(boolean hasTag)
|
java.lang.String |
toString()
Returns a string representation of this action mapping |
Methods inherited from class org.japano.action.Parametrized |
---|
addParameter, getParameterCount, getParametrizedClass, parameters, removeParameter, setParametrizedClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionMapping(java.lang.String klass, java.lang.String tagLibrary, java.lang.String name)
name
- name of the actionklass
- action class implementing Action
tagLibrary
- URI of the tag library this action will be inMethod Detail |
---|
public void addBean(Bean bean)
bean
- Beanpublic java.lang.String toString()
toString
in class java.lang.Object
public void performAction(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
request
- Requestresponse
- Response
java.io.IOException
public java.lang.String getTagLibrary()
public java.lang.String getTagName()
public java.util.Iterator beans()
public Parameter getParameter(java.lang.String name)
null
getParameter
in class Parametrized
name
- qualified name of the parameter to find
null
public java.lang.String getQualifiedName()
public boolean isRepeatable()
public Bean getBean(java.lang.String name)
null
name
- bean name
public void setRepeatable(boolean repeatable)
repeatable
- New value of property repeatable.public boolean isPingPong()
true
if mapped action is a ping pong action.
public int getBeanCount()
public ActionMapping getActionMapping()
getActionMapping
in class Parametrized
public java.lang.String getExtension()
public void setExtension(java.lang.String extension)
extension
- New value of property extension.public boolean hasTag()
public void setTag(boolean hasTag)
public java.lang.String getRequiredMarker()
public void setRequiredMarker(java.lang.String requiredMarker)
requiredMarker
- New value of property requiredMarker.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |