com.caucho.config.xml
Class XmlBeanNewAttribute

java.lang.Object
  extended by com.caucho.config.attribute.Attribute
      extended by com.caucho.config.xml.XmlBeanNewAttribute

public class XmlBeanNewAttribute
extends Attribute


Field Summary
static Attribute ATTRIBUTE
           
 
Method Summary
 java.lang.Object create(java.lang.Object parent, QName name)
          Creates the child bean.
 ConfigType<?> getConfigType()
          Returns the config type of the attribute value.
 boolean isEL()
          Returns true for an EL attribute.
 void setText(java.lang.Object object, QName name, java.lang.String value)
          Sets the value of the attribute as text
 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, isAllowText, isAssignableFrom, isAssignableFrom, isBean, isConfigurable, isInlineType, isNode, isProgram, isSetter, replaceObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE

public static final Attribute ATTRIBUTE
Method Detail

getConfigType

public ConfigType<?> getConfigType()
Description copied from class: Attribute
Returns the config type of the attribute value.

Specified by:
getConfigType in class Attribute

isEL

public boolean isEL()
Description copied from class: Attribute
Returns true for an EL attribute.

Overrides:
isEL in class Attribute

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

setText

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

Overrides:
setText in class Attribute
Throws:
ConfigException

setValue

public void setValue(java.lang.Object bean,
                     QName name,
                     java.lang.Object value)
              throws ConfigException
Description copied from class: Attribute
Sets the value of the attribute

Specified by:
setValue in class Attribute
Throws:
ConfigException