|
||||||||||
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.FaceletTagMeta
public class FaceletTagMeta
Store metadata about a JSF Facelet Tag Handler, or some base class or interface that a Tag Handler can be derived from.
Field Summary | |
---|---|
protected Map |
_attributes
|
Constructor Summary | |
---|---|
FaceletTagMeta()
Constructor. |
Method Summary | |
---|---|
void |
addAttribute(AttributeMeta attribute)
Adds a property to this component. |
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. |
Iterator |
attributes()
Returns an iterator for all properties |
int |
attributesSize()
Number of properties for this component |
AttributeMeta |
getAttribute(String attributeName)
|
Collection |
getAttributeList()
|
String |
getBehaviorClass()
|
String |
getBodyContent()
|
String |
getComponentClass()
|
String |
getConverterClass()
|
String |
getDescription()
|
String |
getLongDescription()
|
String |
getName()
|
String |
getTagClass()
|
String |
getValidatorClass()
|
boolean |
hasAttributes()
Returns true if this component has any properties. |
Boolean |
isConfigExcluded()
|
void |
merge(FaceletTagMeta other)
Merge the data in the specified other property into this one, throwing an exception if there is an incompatibility. |
void |
setBehaviorClass(String behaviorClass)
|
void |
setBodyContent(String bodyContent)
|
void |
setComponentClass(String componentClass)
|
void |
setConfigExcluded(Boolean configExcluded)
|
void |
setConverterClass(String converterClass)
|
void |
setDescription(String description)
Sets the brief description of this property. |
void |
setLongDescription(String longDescription)
Sets the long description of this property. |
void |
setName(String name)
Sets the name that the user will refer to instances of this component by. |
void |
setTagClass(String tagClass)
|
void |
setValidatorClass(String validatorClass)
|
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.ClassMeta |
---|
addInterfaceClassName, getClassName, getInterfaceClassNames, getModelId, getPackageName, getParentClassName, getSourceClassName, getSourceClassParentClassName, merge, setClassName, setInterfaceClassNames, setModelId, setParentClassName, setSourceClassName, setSourceClassParentClassName, writeXml, writeXmlComplex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map _attributes
Constructor Detail |
---|
public FaceletTagMeta()
Method Detail |
---|
protected void writeXmlSimple(XmlWriter out)
writeXmlSimple
in class ClassMeta
public static void addXmlRules(org.apache.commons.digester.Digester digester, String prefix)
public void merge(FaceletTagMeta other)
public void setDescription(String description)
This description is used in tooltips, etc.
public String getDescription()
public void setLongDescription(String longDescription)
public String getLongDescription()
public void setBodyContent(String bodyContent)
public String getBodyContent()
public void setName(String name)
In JSP tags, this value will be used as the JSP tag name.
This property is optional; if not set then this Model instance represents a base class that components can be derived from, but which cannot itself be instantiated as a component.
public String getName()
public String getComponentClass()
public void setComponentClass(String componentClass)
public String getTagClass()
public void setTagClass(String tagClass)
public String getConverterClass()
public void setConverterClass(String converterClass)
public String getValidatorClass()
public void setValidatorClass(String validatorClass)
public String getBehaviorClass()
public void setBehaviorClass(String behaviorClass)
public void setConfigExcluded(Boolean configExcluded)
public Boolean isConfigExcluded()
public void addAttribute(AttributeMeta attribute)
addAttribute
in interface AttributeHolder
public AttributeMeta getAttribute(String attributeName)
getAttribute
in interface AttributeHolder
public int attributesSize()
public boolean hasAttributes()
public Iterator attributes()
attributes
in interface AttributeHolder
public Collection getAttributeList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |