public class OptionBuilderRule extends Object implements org.apache.commons.chain.Command
This Command will return either a SelectItemBuilder or
a SelectItemsBuilder if the html Node is an option and the
option has children.
| Constructor and Description |
|---|
OptionBuilderRule() |
public boolean execute(org.apache.commons.chain.Context context)
throws Exception
Returns a true value if the current html Node is
an option. A true result means that a rule has been
assigned to the BuilderRuleContext.
execute in interface org.apache.commons.chain.Commandcontext - chains contexttrue if the chain is doneException - up the calling chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.