com.caucho.config.attribute
Class ProgramAttribute

java.lang.Object
  extended by com.caucho.config.attribute.Attribute
      extended by com.caucho.config.attribute.ProgramAttribute

public class ProgramAttribute
extends Attribute


Constructor Summary
ProgramAttribute(java.lang.reflect.Method setter, ConfigType type)
           
 
Method Summary
 ConfigType getConfigType()
          Returns the config type of the attribute value.
 boolean isProgram()
          Returns true for a program-style attribute.
 void setValue(java.lang.Object bean, QName name, java.lang.Object value)
          Sets the value of the attribute
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.config.attribute.Attribute
create, create, getType, isAllowInline, isAllowText, isAssignableFrom, isAssignableFrom, isBean, isConfigurable, isEL, isInlineType, isNode, isSetter, replaceObject, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProgramAttribute

public ProgramAttribute(java.lang.reflect.Method setter,
                        ConfigType type)
Method Detail

getConfigType

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

Specified by:
getConfigType in class Attribute

isProgram

public boolean isProgram()
Returns true for a program-style attribute.

Overrides:
isProgram in class Attribute

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

toString

public java.lang.String toString()
Overrides:
toString in class Attribute