org.ajax4jsf.builder.config
Class ComponentBaseBean

java.lang.Object
  extended by org.ajax4jsf.builder.config.JsfBean
      extended by org.ajax4jsf.builder.config.ComponentBaseBean
All Implemented Interfaces:
LoaderHolder
Direct Known Subclasses:
ComponentBean, ConverterBean, FunctionBean, ListenerBean, ValidatorBean

public class ComponentBaseBean
extends JsfBean


Constructor Summary
ComponentBaseBean()
           
 
Method Summary
 void addProperty(PropertyBean property)
          Append property to component.
 void checkProperties()
          Subclasses should extend this method to provide specifc checks Check existing and default properties For properties filled from configuration, attempt to set additional parameters.
 boolean containProperty(java.lang.String name)
           
 java.util.Collection<PropertyBean> getProperties()
           
 PropertyBean getProperty(java.lang.String name)
           
 TagBean getTag()
           
 TagHandlerBean getTaghandler()
           
 boolean isGenerate()
           
 boolean isStateHolderRequired()
           
 boolean isSuperclassImplementsStateHolder()
           
 boolean isSuperIsTransientMethodExists()
           
 boolean isSuperRestoreStateMethodExists()
           
 boolean isSuperSaveStateMethodExists()
           
 boolean isSuperSetTransientMethodExists()
           
 void setGenerate(boolean generate)
           
 void setTag(TagBean tag)
           
 void setTaghandler(TagHandlerBean tagSupport)
           
 
Methods inherited from class org.ajax4jsf.builder.config.JsfBean
escapeXML, getClassname, getDescription, getDisplayname, getGenericTypes, getIcon, getLoader, getLog, getName, getPackageName, getParent, getSimpleClassName, getSuperclass, getTest, getXmlEncodedDescription, getXmlEncodedDisplayname, haveMethod, isInstanceof, setClassname, setDescription, setDisplayname, setIcon, setLoader, setName, setParent, setSuperclass, setTest, upperFirstChar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentBaseBean

public ComponentBaseBean()
Method Detail

getTag

public TagBean getTag()
Returns:
Returns the tag.

setTag

public void setTag(TagBean tag)
Parameters:
tag - The tag to set.

isGenerate

public boolean isGenerate()
Returns:
Returns the generate.

setGenerate

public void setGenerate(boolean generate)
Parameters:
generate - The generate to set.

getTaghandler

public TagHandlerBean getTaghandler()
Returns:
Returns the tagSupport.

setTaghandler

public void setTaghandler(TagHandlerBean tagSupport)
Parameters:
tagSupport - The tagSupport to set.

getProperties

public java.util.Collection<PropertyBean> getProperties()
Returns:
Returns the properties.

containProperty

public boolean containProperty(java.lang.String name)
Parameters:
name -
Returns:
true if component have property with given name

getProperty

public PropertyBean getProperty(java.lang.String name)

addProperty

public void addProperty(PropertyBean property)
Append property to component. If property with name exist, replace it

Parameters:
property -

checkProperties

public void checkProperties()
                     throws ParsingException
Subclasses should extend this method to provide specifc checks Check existing and default properties For properties filled from configuration, attempt to set additional parameters. If base class have any bean properties, append it to configured

Throws:
javax.naming.ConfigurationException
ParsingException

isStateHolderRequired

public boolean isStateHolderRequired()

isSuperclassImplementsStateHolder

public boolean isSuperclassImplementsStateHolder()

isSuperSaveStateMethodExists

public boolean isSuperSaveStateMethodExists()

isSuperRestoreStateMethodExists

public boolean isSuperRestoreStateMethodExists()

isSuperIsTransientMethodExists

public boolean isSuperIsTransientMethodExists()

isSuperSetTransientMethodExists

public boolean isSuperSetTransientMethodExists()


Copyright © 2009. All Rights Reserved.