|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.seam.remoting.wrapper.BaseWrapper
org.jboss.seam.remoting.wrapper.BeanWrapper
public class BeanWrapper
Field Summary |
---|
Fields inherited from class org.jboss.seam.remoting.wrapper.BaseWrapper |
---|
beanManager, context, element, path, value |
Constructor Summary | |
---|---|
BeanWrapper(BeanManager beanManager)
|
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. |
Wrapper |
getBeanProperty(String propertyName)
|
Type |
getBeanPropertyType(String propertyName)
|
void |
marshal(OutputStream out)
Writes the object reference ID to the specified OutputStream |
void |
serialize(OutputStream out)
Default implementation does nothing |
void |
serialize(OutputStream out,
List<String> constraints)
Writes a serialized representation of the object's properties to the specified OutputStream. |
void |
setBeanProperty(String propertyName,
Wrapper valueWrapper)
|
void |
setElement(org.dom4j.Element element)
Extracts a value from a DOM4J Element |
void |
unmarshal()
Default implementation does nothing |
Methods inherited from class org.jboss.seam.remoting.wrapper.BaseWrapper |
---|
getValue, setCallContext, setPath, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.seam.remoting.wrapper.Wrapper |
---|
getValue, setCallContext, setPath, setValue |
Constructor Detail |
---|
public BeanWrapper(BeanManager beanManager)
Method Detail |
---|
public void setElement(org.dom4j.Element element)
BaseWrapper
setElement
in interface Wrapper
setElement
in class BaseWrapper
element
- Elementpublic Type getBeanPropertyType(String propertyName)
public Wrapper getBeanProperty(String propertyName)
public void setBeanProperty(String propertyName, Wrapper valueWrapper)
public void unmarshal()
BaseWrapper
unmarshal
in interface Wrapper
unmarshal
in class BaseWrapper
public Object convert(Type type) throws ConversionException
Wrapper
convert
in interface Wrapper
ConversionException
public void marshal(OutputStream out) throws IOException
marshal
in interface Wrapper
IOException
public void serialize(OutputStream out) throws IOException
BaseWrapper
serialize
in interface Wrapper
serialize
in class BaseWrapper
out
- OutputStream
IOException
public void serialize(OutputStream out, List<String> constraints) throws IOException
out
- constraints
-
IOException
public ConversionScore conversionScore(Class<?> cls)
Wrapper
conversionScore
in interface Wrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |