org.jwarp.service.web.dispatch
Class SimpleCondition
java.lang.Object
|
+--org.jwarp.service.web.dispatch.SimpleCondition
- All Implemented Interfaces:
- ICondition, IConfigurable
- public class SimpleCondition
- extends java.lang.Object
- implements ICondition
|
Method Summary |
void |
check(WebContext context)
|
void |
configure(org.jdom.Element config)
Pass the Configuration to the Configurable
class. |
java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validator
protected IValidator validator
field
protected java.lang.String field
type
protected java.lang.String type
SimpleCondition
public SimpleCondition()
getName
public java.lang.String getName()
- Specified by:
getName in interface ICondition
configure
public void configure(org.jdom.Element config)
- Description copied from interface:
IConfigurable
- Pass the
Configuration to the Configurable
class. This method must always be called after the constructor and before any other method.
- Specified by:
configure in interface IConfigurable
- Following copied from interface:
org.jwarp.service.configuration.IConfigurable
- Parameters:
configuration - the class configurations.
check
public void check(WebContext context)
throws ParameterNotFoundException,
ParameterException
- Specified by:
check in interface ICondition