站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

Coercible (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.util
Interface Coercible


public interface Coercible

An iterface which an object implements to indicate that it will handle coercion by itself.

Version:
$Revision: 1.1 $
Author:
Jason Dillon

Method Summary
 Object coerce(Class type)
          Coerce this object into a specified type
 

Method Detail

coerce

public Object coerce(Class type)
              throws CoercionException
Coerce this object into a specified type

Parameters:
type - Type to coerce to
Returns:
Coereced object
Throws:
CoercionException - Failed to coerce


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.