org.wings.template.propertymanagers
Class DefaultPropertyManager

java.lang.Object
  extended by org.wings.template.propertymanagers.DefaultPropertyManager
All Implemented Interfaces:
PropertyManager
Direct Known Subclasses:
SComponentPropertyManager

public class DefaultPropertyManager
extends Object
implements PropertyManager

The default property handler for the OBJECT tags in STemplateLayout.

Author:
(c) mercatis information systems gmbh, 1999-2002, Armin Haaf

Field Summary
static String BEANSCRIPT_ENABLE
          Declare a value "true" for this string in web.xml to enable BeanScript support.
static DefaultPropertyValueConverter DEFAULT_PROPERTY_VALUE_CONVERTER
           
 HashMap propertyValueConverters
           
 
Constructor Summary
DefaultPropertyManager()
           
 
Method Summary
 void addPropertyValueConverter(PropertyValueConverter valueConverter, Class clazz)
           
protected  bsh.Interpreter createInterpreter()
           
 Class[] getSupportedClasses()
          Describe getSupportedClasses method here.
protected  PropertyValueConverter getValueConverter(Class clazz)
           
 void setProperty(SComponent comp, String name, String value)
          Describe setProperty method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyValueConverters

public final HashMap propertyValueConverters

DEFAULT_PROPERTY_VALUE_CONVERTER

public static final DefaultPropertyValueConverter DEFAULT_PROPERTY_VALUE_CONVERTER

BEANSCRIPT_ENABLE

public static final String BEANSCRIPT_ENABLE
Declare a value "true" for this string in web.xml to enable BeanScript support.

See Also:
Constant Field Values
Constructor Detail

DefaultPropertyManager

public DefaultPropertyManager()
Method Detail

createInterpreter

protected bsh.Interpreter createInterpreter()

setProperty

public void setProperty(SComponent comp,
                        String name,
                        String value)
Description copied from interface: PropertyManager
Describe setProperty method here.

Specified by:
setProperty in interface PropertyManager
Parameters:
comp - a SComponent value
name - a String value
value - a String value

addPropertyValueConverter

public void addPropertyValueConverter(PropertyValueConverter valueConverter,
                                      Class clazz)

getValueConverter

protected PropertyValueConverter getValueConverter(Class clazz)

getSupportedClasses

public Class[] getSupportedClasses()
Description copied from interface: PropertyManager
Describe getSupportedClasses method here.

Specified by:
getSupportedClasses in interface PropertyManager
Returns:
a Class[] value


wingS Swings ;-)