xdoclet.modules.java.javabean
public class JavaBeanTagsHandler extends XDocletTagSupport
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
JavaBeanTagsHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
getXJavaDoc, setXJavaDoc
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 attributesXDocletException
- 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 attributesXDocletException
- Thrown in case of problempublic java.lang.String capitalizeClassTag(java.util.Properties attributes) throws XDocletException
attributes
- XDoclet attributesXDocletException
- Thrown in case of problem