com.caucho.config.attribute
Class EnvironmentAttribute<T>

java.lang.Object
  extended by com.caucho.config.attribute.Attribute
      extended by com.caucho.config.attribute.EnvironmentAttribute<T>
Direct Known Subclasses:
FlowAttribute

public class EnvironmentAttribute<T>
extends Attribute


Constructor Summary
EnvironmentAttribute(ConfigType<T> type)
           
 
Method Summary
 java.lang.Object create(java.lang.Object parent, QName name)
          Creates the child bean.
 ConfigType<T> getConfigType()
          Returns the config type of the attribute value.
 boolean isAllowText()
          True if it allows text.
 void setText(java.lang.Object bean, QName name, java.lang.String value)
          Sets the value of the attribute
 void setValue(java.lang.Object bean, QName name, java.lang.Object value)
          Sets the value of the attribute
 
Methods inherited from class com.caucho.config.attribute.Attribute
create, getType, isAllowInline, isAssignableFrom, isAssignableFrom, isBean, isConfigurable, isEL, isInlineType, isNode, isProgram, isSetter, replaceObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvironmentAttribute

public EnvironmentAttribute(ConfigType<T> type)
Method Detail

getConfigType

public ConfigType<T> getConfigType()
Returns the config type of the attribute value.

Specified by:
getConfigType in class Attribute

isAllowText

public boolean isAllowText()
Description copied from class: Attribute
True if it allows text.

Overrides:
isAllowText in class Attribute

setText

public void setText(java.lang.Object bean,
                    QName name,
                    java.lang.String value)
             throws ConfigException
Sets the value of the attribute

Overrides:
setText in class Attribute
Throws:
ConfigException

setValue

public void setValue(java.lang.Object bean,
                     QName name,
                     java.lang.Object value)
              throws ConfigException
Sets the value of the attribute

Specified by:
setValue in class Attribute
Throws:
ConfigException

create

public java.lang.Object create(java.lang.Object parent,
                               QName name)
                        throws ConfigException
Creates the child bean.

Overrides:
create in class Attribute
Throws:
ConfigException