|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Wrapper
Acts as a wrapper around parameter values passed within an AJAX call.
Method Summary | |
---|---|
ConversionScore |
conversionScore(Class cls)
Returns a score indicating whether this parameter value can be converted to the specified type. |
Object |
convert(Type type)
Convert the wrapped parameter value to the specified target class. |
Object |
getValue()
|
void |
marshal(OutputStream out)
|
void |
serialize(OutputStream out)
|
void |
setCallContext(CallContext context)
|
void |
setElement(org.dom4j.Element element)
Extracts a value from a DOM4J Element |
void |
setValue(Object value)
|
void |
unmarshal()
|
Method Detail |
---|
void setCallContext(CallContext context)
call
- Callvoid setElement(org.dom4j.Element element)
element
- Elementvoid setValue(Object value)
value
- ObjectObject getValue()
void unmarshal()
Object convert(Type type) throws ConversionException
targetClass
- Class
ConversionException
void marshal(OutputStream out) throws IOException
IOException
void serialize(OutputStream out) throws IOException
IOException
ConversionScore conversionScore(Class cls)
target
- Class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |