org.apache.bsf.util

Class Bean


public class Bean
extends java.lang.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

java.lang.Class
type
java.lang.Object
value

Constructor Summary

Bean(java.lang.Class type, java.lang.Object value)

Field Details

type

public java.lang.Class type

value

public java.lang.Object value

Constructor Details

Bean

public Bean(java.lang.Class type,
            java.lang.Object value)