org.apache.shale.clay.parser.builder.chain
Class SelectBuilderRule
java.lang.Object
org.apache.shale.clay.parser.builder.chain.SelectBuilderRule
- All Implemented Interfaces:
- Command
public class SelectBuilderRule
- extends Object
- implements Command
This rule will map a html select Node to a
SelectOneMenuBuilder
or a SelectManyMenuBuilder.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectBuilderRule
public SelectBuilderRule()
execute
public boolean execute(Context context)
throws Exception
Returns true if a match was made from a select
Node to a SelectOneMenuBuilder
or a SelectManyMenuBuilder.
- Specified by:
execute in interface Command
- Parameters:
context - commons chains
- Returns:
true if the chain is done
- Throws:
Exception - pass back up the calling chain
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.