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.