|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.TypeHintContext
public class TypeHintContext
TypeHintContext should probably be called TypeHint. Its a way to
provide help to the converter in describing what types it should be
converting to.
Something to hold the method, paramNo and index together as an object
that can be a key in a Map.
| Constructor Summary | |
|---|---|
TypeHintContext(ConverterManager converterManager,
java.lang.reflect.Method method,
int parameterNumber)
External setup this object |
|
| Method Summary | |
|---|---|
TypeHintContext |
createChildContext(int newParameterNumber)
Create a child TypeHintContext based on this one |
boolean |
equals(java.lang.Object obj)
|
java.lang.Class<?> |
getExtraTypeInfo()
Find the parameterized type information for this parameter either using JDK5 introspection or |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TypeHintContext(ConverterManager converterManager,
java.lang.reflect.Method method,
int parameterNumber)
converterManager - For when we can't work out the parameterized type infomethod - The method to annotateparameterNumber - The number of the parameter to edit (counts from 0)| Method Detail |
|---|
public TypeHintContext createChildContext(int newParameterNumber)
newParameterNumber - The index of the item between < and >.
public java.lang.Class<?> getExtraTypeInfo()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||