org.apache.bsf.util
Class Bean

java.lang.Object
  extended by org.apache.bsf.util.Bean

public class Bean
extends Object

A Bean is the class used to represent a bean: it holds a type and a value. This is needed because otherwise we can't represent the types of null-valued beans (or primitives) correctly. This was originally in the BML player.

Author:
Sanjiva Weerawarana

Field Summary
 Class type
           
 Object value
           
 
Constructor Summary
Bean(Class type, Object value)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public Class type

value

public Object value
Constructor Detail

Bean

public Bean(Class type,
            Object value)