org.apache.shale.clay.component.chain
Class CreateValidatorCommand
java.lang.Object
org.apache.shale.clay.component.chain.AbstractCommand
org.apache.shale.clay.component.chain.CreateValidatorCommand
- All Implemented Interfaces:
- Command
public class CreateValidatorCommand
- extends AbstractCommand
Creates an object implementing the Validator
interface and assigns it
to the parent
from the ClayContext
.
Method Summary |
boolean |
execute(Context context)
Creates a faces validator object that is registered in the
faces-config.xml file and assigns it to the parent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateValidatorCommand
public CreateValidatorCommand()
execute
public boolean execute(Context context)
throws Exception
Creates a faces validator object that is registered in the
faces-config.xml file and assigns it to the parent.
- Specified by:
execute
in interface Command
- Specified by:
execute
in class AbstractCommand
- Parameters:
context
- commons chains
- Returns:
true
if the chain is final
- Throws:
Exception
- propagated to the top chain
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.