xdoclet.modules.java.javabean
Class JavaBeanTagsHandler
java.lang.Object
xdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.java.javabean.JavaBeanTagsHandler
public class JavaBeanTagsHandler
extends xdoclet.XDocletTagSupport
Specific tags handler to make the template easy.
- Laurent Etiemble (letiemble@users.sourceforge.net)
- Ryan Ovrevik
delimit , expandClassName , generate , getCurrentClass , getCurrentClassTag , getCurrentConstructor , getCurrentField , getCurrentFieldTag , getCurrentMethod , getCurrentMethodTag , getCurrentPackage , getDocletContext , getEngine , getExpandedDelimitedTagValue , getTagValue , getTagValue , getTagValue , hasHavingClassTag , hasTag , isTagValueEqual , mandatoryParamNotFound , mandatoryTemplateTagParamNotFound , modifiers , popCurrentClass , pushCurrentClass , setCurrentClass , setCurrentClassTag , setCurrentConstructor , setCurrentField , setCurrentFieldTag , setCurrentMethod , setCurrentMethodTag , setCurrentPackage |
beanClass
public String beanClass(Properties attributes)
throws xdoclet.XDocletException
return configured bean class name or current class name
attributes
- XDoclet attributes
xdoclet.XDocletException
- Thrown in case of problem
capitalizeClassTag
public String capitalizeClassTag(Properties attributes)
throws xdoclet.XDocletException
Capitalize the first letter of a class tag (i.e countToken => CountToken)
attributes
- XDoclet attributes
- The class tag capitalized
xdoclet.XDocletException
- Thrown in case of problem
getBeanInfoClassFor
public static String getBeanInfoClassFor(XClass clazz)
throws xdoclet.XDocletException
getGetterMethodNameQuoted
public String getGetterMethodNameQuoted()
Get the getter method for the current method
getPropertyNameQuoted
public String getPropertyNameQuoted()
Get the property name for the current method xxx rlo the is fucked
getSetterMethodNameQuoted
public String getSetterMethodNameQuoted()
Get the setter method for the current method
getterPrefix
public String getterPrefix(Properties attributes)
throws xdoclet.XDocletException
Return the getter prefix according to the class tag that contains a class.
attributes
- XDoclet attributes
xdoclet.XDocletException
- Thrown in case of problem