org.apache.myfaces.extensions.cdi.core.api.config
Class AbstractAttributeAware

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.api.config.AbstractAttributeAware
All Implemented Interfaces:
Serializable, AttributeAware

public abstract class AbstractAttributeAware
extends Object
implements AttributeAware

Base implementation which implements AttributeAware to support custom attributes.

Author:
Gerhard Petracek
See Also:
Serialized Form

Constructor Summary
AbstractAttributeAware()
           
 
Method Summary
 boolean containsAttribute(String name)
           
<T> T
getAttribute(String name, Class<T> targetType)
           
protected  void initConfig()
           
 boolean setAttribute(String name, Object value)
           
 boolean setAttribute(String name, Object value, boolean forceOverride)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAttributeAware

public AbstractAttributeAware()
Method Detail

setAttribute

public boolean setAttribute(String name,
                            Object value)
Specified by:
setAttribute in interface AttributeAware

setAttribute

public boolean setAttribute(String name,
                            Object value,
                            boolean forceOverride)
Specified by:
setAttribute in interface AttributeAware

containsAttribute

public boolean containsAttribute(String name)
Specified by:
containsAttribute in interface AttributeAware

getAttribute

public <T> T getAttribute(String name,
                          Class<T> targetType)
Specified by:
getAttribute in interface AttributeAware

initConfig

protected void initConfig()


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.