|
||||||||||
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.AttributeMeta
public class AttributeMeta
Store metadata about a attribute of a jsp tag.
This metadata defines the attributes of JSP tags, among other things. Since this is a different concept from PropertyMeta, is is left as another class (Maybe PropertyMeta must AttributeMeta but I'm not sure, since there are different concepts (a property is for jsf, an attribute is for jsp)).
Constructor Summary | |
---|---|
AttributeMeta()
|
|
AttributeMeta(AttributeMeta am)
|
Method Summary | |
---|---|
static void |
addXmlRules(org.apache.commons.digester.Digester digester,
String prefix)
Add digester rules to repopulate a Model instance from an xml file. |
void |
copy(AttributeMeta other)
Copy all attributes in other to this instance. |
String |
getClassName()
|
String |
getDeferredMethodSignature()
Indicate the method signature that values should be cast on tld. |
String |
getDeferredValueType()
Indicate the type that values should be cast on tld. |
String |
getDescription()
|
String |
getLongDescription()
|
String |
getName()
|
Boolean |
isExclude()
|
Boolean |
isFaceletsOnly()
|
Boolean |
isRequired()
|
Boolean |
isRtexprvalue()
|
void |
merge(AttributeMeta other)
Merge the data in the specified other property into this one, throwing an exception if there is an incompatibility. |
void |
setClassName(String className)
Set the fully-qualified name of the type of this property. |
void |
setDeferredMethodSignature(String deferredMethodSignature)
|
void |
setDeferredValueType(String deferredValueType)
|
void |
setDescription(String desc)
|
void |
setExclude(Boolean exclude)
|
void |
setFaceletsOnly(Boolean faceletsOnly)
|
void |
setLongDescription(String desc)
|
void |
setName(String name)
Set the name that users refer to this property by. |
void |
setRequired(Boolean required)
Specify whether this property is required, ie whether it is a syntax error for someone to use a tag for a component with this property but not explicitly provide a value for this property. |
void |
setRtexprvalue(Boolean rtexprvalue)
|
static void |
writeXml(XmlWriter out,
AttributeMeta am)
Write this model out as xml. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeMeta()
public AttributeMeta(AttributeMeta am)
Method Detail |
---|
public static void writeXml(XmlWriter out, AttributeMeta am)
public static void addXmlRules(org.apache.commons.digester.Digester digester, String prefix)
public void merge(AttributeMeta other)
public void copy(AttributeMeta other)
other
- public void setName(String name)
This sets the name of xml tag attributes, and the base names of generated getter/setter methods.
public String getName()
public void setClassName(String className)
public String getClassName()
public void setRequired(Boolean required)
public Boolean isRequired()
public void setRtexprvalue(Boolean rtexprvalue)
public Boolean isRtexprvalue()
public void setDescription(String desc)
public String getDescription()
public void setLongDescription(String desc)
public String getLongDescription()
public void setDeferredValueType(String deferredValueType)
public String getDeferredValueType()
public void setDeferredMethodSignature(String deferredMethodSignature)
public String getDeferredMethodSignature()
public Boolean isExclude()
public void setExclude(Boolean exclude)
public Boolean isFaceletsOnly()
public void setFaceletsOnly(Boolean faceletsOnly)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |