|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.grimoire.formtree.receiver.IgnoreReceiver
public class IgnoreReceiver
A form element receiver that acts as a black hole, ignoring all values passed into it.
| Field Summary | |
|---|---|
static IgnoreReceiver |
IGNORE
A convenience instance of IgnoreReceiver. |
| Constructor Summary | |
|---|---|
IgnoreReceiver()
|
|
| Method Summary | |
|---|---|
FormElementReceiver |
index(int index)
Ignores an index element. |
FormElementReceiver |
key(java.lang.String field)
Ignores a key element. |
void |
values(java.lang.Iterable<java.lang.String> values)
Ignores the passed value entirely. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IgnoreReceiver IGNORE
| Constructor Detail |
|---|
public IgnoreReceiver()
| Method Detail |
|---|
public void values(java.lang.Iterable<java.lang.String> values)
values in interface FormElementReceivervalues - the values to store.FormElementReceiver.values(java.lang.Iterable)public FormElementReceiver key(java.lang.String field)
key in interface FormElementReceiverfield - the field to decode.
FormElementReceiver.key(java.lang.String)public FormElementReceiver index(int index)
index in interface FormElementReceiverindex - the index to decode.
FormElementReceiver.index(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||