|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.shale.clay.parser.builder.chain.OptionBuilderRule
public class OptionBuilderRule
This Command
will return either a SelectItemBuilder
or
a SelectItemsBuilder
if the html Node
is an option and the
option has children.
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
OptionBuilderRule()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Returns a true value if the current html Node is
an option. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptionBuilderRule()
Method Detail |
---|
public boolean execute(org.apache.commons.chain.Context context) throws java.lang.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.Command
context
- chains context
true
if the chain is done
java.lang.Exception
- up the calling chain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |