org.apache.shale.clay.parser.builder.chain
Class SelectBuilderRule

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
SelectBuilderRule()
           
 
Method Summary
 boolean execute(Context context)
          Returns true if a match was made from a 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
 

Constructor Detail

SelectBuilderRule

public SelectBuilderRule()
Method Detail

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.