|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.EmptyEventContext
public class EmptyEventContext
Placeholder used when no context is available.
| Constructor Summary | |
|---|---|
EmptyEventContext()
|
|
| Method Summary | ||
|---|---|---|
|
get(Class<T> desiredType,
int index)
This should never be called because the count is always zero. |
|
int |
getCount()
Always returns zero. |
|
String[] |
toStrings()
Extracts the value of each context value as a string. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyEventContext()
| Method Detail |
|---|
public int getCount()
getCount in interface EventContext
public <T> T get(Class<T> desiredType,
int index)
get in interface EventContextdesiredType - the type of value requiredindex - identifies which parameter value to extract
public String[] toStrings()
EventContext
toStrings in interface EventContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||