|
||||||||||
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.FormBuilderRule
public class FormBuilderRule
This rule has an implied mapping meaning that all html form nodes will map to
the FormBuilder
regardless if the html form attribute has a
jsfid
.
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
FormBuilderRule()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Uses the BuilderRuleContext to find the current html Node . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormBuilderRule()
Method Detail |
---|
public boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Uses the BuilderRuleContext
to find the current html Node
.
If the node is a form, return an instance if the builder and stop the
chain.
execute
in interface org.apache.commons.chain.Command
context
- commons chains
true
if the command ends the chain
java.lang.Exception
- pushes an exception back to the invoking Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |