|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.java.javabean.JavaBeanTagsHandler
public class JavaBeanTagsHandler
Specific tags handler to make the template easy.
Field Summary |
---|
Fields inherited from class xdoclet.XDocletTagSupport |
---|
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
Constructor Summary | |
---|---|
JavaBeanTagsHandler()
|
Method Summary | |
---|---|
java.lang.String |
beanClass(java.util.Properties attributes)
return configured bean class name or current class name |
java.lang.String |
capitalizeClassTag(java.util.Properties attributes)
Capitalize the first letter of a class tag (i.e countToken => CountToken) |
static java.lang.String |
getBeanInfoClassFor(xjavadoc.XClass clazz)
|
java.lang.String |
getGetterMethodNameQuoted()
Get the getter method for the current method |
java.lang.String |
getPropertyNameQuoted()
Get the property name for the current method xxx rlo the is fucked |
java.lang.String |
getSetterMethodNameQuoted()
Get the setter method for the current method |
java.lang.String |
getterPrefix(java.util.Properties attributes)
Return the getter prefix according to the class tag that contains a class. |
Methods inherited from class xdoclet.template.TemplateTagHandler |
---|
getXJavaDoc, setXJavaDoc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaBeanTagsHandler()
Method Detail |
---|
public static java.lang.String getBeanInfoClassFor(xjavadoc.XClass clazz) throws XDocletException
XDocletException
public java.lang.String getterPrefix(java.util.Properties attributes) throws XDocletException
attributes
- XDoclet attributes
XDocletException
- Thrown in case of problempublic java.lang.String getGetterMethodNameQuoted()
public java.lang.String getSetterMethodNameQuoted()
public java.lang.String getPropertyNameQuoted()
public java.lang.String beanClass(java.util.Properties attributes) throws XDocletException
attributes
- XDoclet attributes
XDocletException
- Thrown in case of problempublic java.lang.String capitalizeClassTag(java.util.Properties attributes) throws XDocletException
attributes
- XDoclet attributes
XDocletException
- Thrown in case of problem
|
http://xdoclet.sourceforge.net/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |