|
||||||||||
| 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 |
setPath(String path)
Sets the path of the wrapped object within the resulting object graph |
void |
setValue(Object value)
|
void |
unmarshal()
|
| Method Detail |
|---|
void setPath(String path)
path - Stringvoid setCallContext(CallContext context)
void setElement(org.dom4j.Element element)
element - Elementvoid setValue(Object value)
value - ObjectObject getValue()
void unmarshal()
Object convert(Type type) throws ConversionException
ConversionExceptionvoid marshal(OutputStream out) throws IOException
IOExceptionvoid serialize(OutputStream out) throws IOException
IOExceptionConversionScore conversionScore(Class cls)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||