public interface Wrapper
Modifier and Type | Method and Description |
---|---|
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() |
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
ConversionException
void marshal(OutputStream out) throws IOException
IOException
void serialize(OutputStream out) throws IOException
IOException
ConversionScore conversionScore(Class<?> cls)
Copyright © 2012 Seam Framework. All Rights Reserved.