|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.buildtools.maven2.plugin.builder.model.ClassMeta
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ViewEntityMeta
org.apache.myfaces.buildtools.maven2.plugin.builder.model.BehaviorMeta
public class BehaviorMeta
Store metadata about a class that is either a JSF Behavior, or some base class or interface that a Behavior can be derived from.
A behavior can be used in two ways:
Constructor Summary | |
---|---|
BehaviorMeta()
|
|
BehaviorMeta(String name)
|
Method Summary | |
---|---|
void |
addBehaviorClassModifier(int modifier)
Adds a Java Language class modifier to the behavior class. |
static void |
addXmlRules(org.apache.commons.digester.Digester digester,
String prefix)
Add digester rules to repopulate an instance of this type from an xml file. |
int |
getBehaviorClassModifiers()
Returns the Java Language class modifiers for the behavior class. |
String |
getBehaviorId()
|
String |
getBehaviorType()
|
String |
getBodyContent()
|
Collection |
getPropertyBehaviorList()
|
Collection |
getPropertyTagList()
|
String |
getTagHandler()
|
Boolean |
isConfigExcluded()
|
Boolean |
isEvaluateELOnExecution()
|
Boolean |
isGeneratedComponentClass()
|
void |
merge(BehaviorMeta other)
Merge the data in the specified other property into this one, throwing an exception if there is an incompatibility. |
void |
setBehaviorId(String behaviorId)
Sets the behavior identifer for this component. |
void |
setBodyContent(String bodyContent)
|
void |
setConfigExcluded(Boolean configExcluded)
|
void |
setEvaluateELOnExecution(Boolean evaluateELOnExecution)
|
void |
setGeneratedComponentClass(Boolean generatedComponentClass)
|
void |
setTagHandler(String tagHandler)
Specifies the class of the Facelets tag handler (component handler) for this component. |
protected void |
writeXmlSimple(XmlWriter out)
Write an instance of this class out as xml. |
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.model.ViewEntityMeta |
---|
addProperty, getDescription, getLongDescription, getName, getProperties, getProperty, getPropertyList, hasProperties, merge, properties, propertiesSize, setDescription, setLongDescription, setName, writeXmlComplex |
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.model.ClassMeta |
---|
addInterfaceClassName, getClassName, getInterfaceClassNames, getModelId, getPackageName, getParentClassName, getSourceClassName, getSourceClassParentClassName, merge, setClassName, setInterfaceClassNames, setModelId, setParentClassName, setSourceClassName, setSourceClassParentClassName, writeXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.buildtools.maven2.plugin.builder.model.PropertyHolder |
---|
addProperty, getProperties, getProperty, properties |
Constructor Detail |
---|
public BehaviorMeta()
public BehaviorMeta(String name)
Method Detail |
---|
protected void writeXmlSimple(XmlWriter out)
writeXmlSimple
in class ViewEntityMeta
public static void addXmlRules(org.apache.commons.digester.Digester digester, String prefix)
public void merge(BehaviorMeta other)
public void setBehaviorId(String behaviorId)
public String getBehaviorId()
public void addBehaviorClassModifier(int modifier)
TODO: what is this for????
public int getBehaviorClassModifiers()
public void setBodyContent(String bodyContent)
public String getBodyContent()
public void setConfigExcluded(Boolean configExcluded)
public Boolean isConfigExcluded()
public String getBehaviorType()
public void setTagHandler(String tagHandler)
Note that a Facelets tag handler class is not needed for most components.
public String getTagHandler()
public void setEvaluateELOnExecution(Boolean evaluateELOnExecution)
public Boolean isEvaluateELOnExecution()
public void setGeneratedComponentClass(Boolean generatedComponentClass)
public Boolean isGeneratedComponentClass()
public Collection getPropertyTagList()
public Collection getPropertyBehaviorList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |