|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jpublish.action.PathAction
An action which is executed when a particular path is matched. PathAction
actually wraps another action. The current algorithm for matching is
contained in the PathUtilities.match()
method.
PathUtilities
Constructor Summary | |
PathAction(java.lang.String path,
Action action)
Construct a new PathAction. |
Method Summary | |
void |
execute(org.apache.velocity.VelocityContext context)
Execute the script. |
java.lang.String |
getPath()
Get the path for matching. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PathAction(java.lang.String path, Action action)
path
- The path to match for executionaction
- The action which will be executedMethod Detail |
public java.lang.String getPath()
public void execute(org.apache.velocity.VelocityContext context) throws java.lang.Exception
execute
in interface Action
context
- The velocity context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |