|
||||||||||
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.FaceletFunctionMeta
public class FaceletFunctionMeta
Constructor Summary | |
---|---|
FaceletFunctionMeta()
|
|
FaceletFunctionMeta(FaceletFunctionMeta pm)
|
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. |
String |
getDeclaredSignature()
|
String |
getDescription()
|
String |
getLongDescription()
|
String |
getModelId()
Indicates which "group" of metadata this class belongs to. |
String |
getName()
|
String |
getSignature()
|
String |
getSourceClassName()
Return the className of the real java class from which this metadata was gathered. |
String |
getSourcePackageName()
Utility method to return just the packagename part of the className attribute. |
void |
merge(FaceletFunctionMeta other)
Merge the data in the specified other property into this one, throwing an exception if there is an incompatibility. |
void |
setDeclaredSignature(String signature)
|
void |
setDescription(String desc)
|
void |
setLongDescription(String desc)
|
void |
setModelId(String modelId)
|
void |
setName(String name)
Set the name that users refer to this property by. |
void |
setSignature(String signature)
|
void |
setSourceClassName(String sourceClassName)
|
protected void |
writeXml(XmlWriter out)
|
static void |
writeXml(XmlWriter out,
FaceletFunctionMeta pm)
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 FaceletFunctionMeta()
public FaceletFunctionMeta(FaceletFunctionMeta pm)
Method Detail |
---|
protected void writeXml(XmlWriter out)
public static void writeXml(XmlWriter out, FaceletFunctionMeta pm)
public static void addXmlRules(org.apache.commons.digester.Digester digester, String prefix)
public void merge(FaceletFunctionMeta other)
public String getModelId()
Projects can inherit metadata from other projects, in which case all the ClassMeta objects end up in one big collection. But for some purposes it is necessary to iterate over the objects belonging to only one project (eg when generating components). This return value can be tested to check which "group" (project) a particular instance belongs to.
public void setModelId(String modelId)
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 setDescription(String desc)
public String getDescription()
public void setLongDescription(String desc)
public String getLongDescription()
public String getSourcePackageName()
public String getSourceClassName()
This is mostly used for documentation. However when generating code in "template mode", this is used to locate the original class in order to find the source code to copy. It is also used for some reason in MakeComponentsMojo when determining whether to generate a class or not - this is probably wrong.
public void setSourceClassName(String sourceClassName)
public void setSignature(String signature)
public String getSignature()
public void setDeclaredSignature(String signature)
public String getDeclaredSignature()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |