|
||||||||||
| 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.InputBuilderRule
public class InputBuilderRule
This rule Command has an implied mapping to several html
element types. The associated Builder will be returned regardless of
the jsfid.
| Field Summary |
|---|
| Fields inherited from interface org.apache.commons.chain.Command |
|---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
| Constructor Summary | |
|---|---|
InputBuilderRule()
|
|
| Method Summary | |
|---|---|
boolean |
execute(org.apache.commons.chain.Context context)
If the html Node is a input element, return the correct builder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputBuilderRule()
| Method Detail |
|---|
public boolean execute(org.apache.commons.chain.Context context)
throws java.lang.Exception
If the html Node is a input element, return the correct builder.
If a match is found, the chain is ended.
Builder
InputTextBuilder
SelectBooleanCheckboxBuilder
SelectOneRadioBuilder
CommandButtonBuilder
BuilderRuleContext will hold the current html Node and
target Builder.
execute in interface org.apache.commons.chain.Commandcontext - common chains context
true if the chain is done
java.lang.Exception - checked exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||