当前页面: 
在线文档首页 > 
JBoss Seam  1.1.0 API 英文版文档
NumberWrapper (JBoss Seam API Documentation) - JBoss Seam  1.1.0 API 英文版文档
org.jboss.seam.remoting.wrapper
Class NumberWrapper
java.lang.Object
   org.jboss.seam.remoting.wrapper.BaseWrapper
org.jboss.seam.remoting.wrapper.BaseWrapper
       org.jboss.seam.remoting.wrapper.NumberWrapper
org.jboss.seam.remoting.wrapper.NumberWrapper
- All Implemented Interfaces: 
- Wrapper
- public class NumberWrapper 
- extends BaseWrapper- implements Wrapper
Int wrapper class.
- Author:
- Shane Bryzak
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
NumberWrapper
public NumberWrapper()
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
 
- 
- Parameters:
- out- OutputStream
- Throws:
- IOException
 
conversionScore
public ConversionScore conversionScore(Class cls)
- Allow conversions to either Integer or String.
 
- 
- Specified by:
- conversionScorein interface- Wrapper
 
- 
- Parameters:
- cls- Class
- Returns:
- ConversionScore