public class TextareaBuilderRule extends Object implements org.apache.commons.chain.Command
This Command rule will map an html textarea Node to a
InputTextareaBuilder.
| Constructor and Description |
|---|
TextareaBuilderRule() |
public boolean execute(org.apache.commons.chain.Context context)
throws Exception
Returns false if the html Node was not a textarea.
The BuilderRuleContext will be passed as a parameter. If a match
is found, a true value is returned completing the chain.
execute in interface org.apache.commons.chain.Commandcontext - commons chainstrue if the command ends the chainException - pushes an exception back to the invoking CommandCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.