当前页面: 
在线文档首页 > 
JBoss Seam  1.1.5 API 英文版文档
BeanWrapper (JBoss Seam API Documentation) - JBoss Seam  1.1.5 API 英文版文档
org.jboss.seam.remoting.wrapper
Class BeanWrapper
java.lang.Object
   org.jboss.seam.remoting.wrapper.BaseWrapper
org.jboss.seam.remoting.wrapper.BaseWrapper
       org.jboss.seam.remoting.wrapper.BeanWrapper
org.jboss.seam.remoting.wrapper.BeanWrapper
- All Implemented Interfaces: 
- Wrapper
- public class BeanWrapper 
- extends BaseWrapper- implements Wrapper
- Author:
- Shane Bryzak
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
BeanWrapper
public BeanWrapper()
setElement
public void setElement(org.dom4j.Element element)
- Description copied from class: BaseWrapper
- Extracts a value from a DOM4J Element
 
- 
- Specified by:
- setElementin interface- Wrapper
- Overrides:
- setElementin class- BaseWrapper
 
- 
- Parameters:
- element- Element
 
unmarshal
public void unmarshal()
- Description copied from class: BaseWrapper
- Default implementation does nothing
 
- 
- Specified by:
- unmarshalin interface- Wrapper
- Overrides:
- unmarshalin class- BaseWrapper
 
- 
 
convert
public Object convert(Type type)
               throws ConversionException
- Description copied from interface: Wrapper
- Convert the wrapped parameter value to the specified target class.
 
- 
- Specified by:
- convertin interface- Wrapper
 
- 
- Throws:
- ConversionException
 
marshal
public void marshal(OutputStream out)
             throws IOException
- 
- Specified by:
- marshalin interface- Wrapper
 
- 
- Throws:
- IOException
 
serialize
public void serialize(OutputStream out)
               throws IOException
- Description copied from class: BaseWrapper
- Default implementation does nothing
 
- 
- Specified by:
- serializein interface- Wrapper
- Overrides:
- serializein class- BaseWrapper
 
- 
- Parameters:
- out- OutputStream
- Throws:
- IOException
 
serialize
public void serialize(OutputStream out,
                      List<String> constraints)
               throws IOException
- 
 
- 
- Throws:
- IOException
 
conversionScore
public ConversionScore conversionScore(Class cls)
- Description copied from interface: Wrapper
- Returns a score indicating whether this parameter value can be converted
 to the specified type.  This helper method is used to determine which
 (possibly overloaded) method of a component can/should be called.
 0 - Cannot be converted
 1 - Can be converted to this type
 2 - Param is this exact type
 
- 
- Specified by:
- conversionScorein interface- Wrapper
 
-