xdoclet.modules.web
public class WebTagsHandler extends XDocletTagSupport
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
WebTagsHandler() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
choosePackage(java.lang.String packageName,
java.lang.String packagePattern,
java.lang.String subtask) |
java.lang.String |
extendsFrom(java.util.Properties attributes)
Returns the name of the class home interface extends.
|
void |
forAllEjbLocalRefs(java.lang.String template)
Process the tag body for each web:ejb-local-ref tag in all source files.
|
void |
forAllEjbRefs(java.lang.String template)
Process the tag body for each web:ejb-ref tag in all source files.
|
void |
forAllEnvEntries(java.lang.String template)
Process the tag body for each web:env-entry tag in all source files.
|
void |
forAllResourceEnvRefs(java.lang.String template)
Process the tag body for each web:resource-env-ref tag in all source files.
|
void |
forAllResourceRefs(java.lang.String template)
Process the tag body for each web:resource-ref tag in all source files.
|
void |
forAllSecurityRoles(java.lang.String template)
Process the tag body for each web:security-role tag in all source files.
|
static java.lang.String |
serviceEndpoint(java.util.Properties properties) |
static java.lang.String |
serviceEndpoint(xjavadoc.XClass clazz) |
static java.lang.String |
servletName(java.util.Properties properties) |
static java.lang.String |
servletName(xjavadoc.XClass clazz) |
static java.lang.String |
shortServletName(xjavadoc.XClass clazz)
Returns short version of the servlet name of the clazz.
|
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 shortServletName(xjavadoc.XClass clazz)
clazz
- the class we want its short servlet name#shortName()
public static java.lang.String serviceEndpoint(xjavadoc.XClass clazz) throws XDocletException
XDocletException
public static java.lang.String serviceEndpoint(java.util.Properties properties) throws XDocletException
XDocletException
public static java.lang.String servletName(java.util.Properties properties)
public static java.lang.String servletName(xjavadoc.XClass clazz)
public static java.lang.String choosePackage(java.lang.String packageName, java.lang.String packagePattern, java.lang.String subtask)
public void forAllEjbRefs(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
- if something goes wrongpublic void forAllEjbLocalRefs(java.lang.String template) throws XDocletException
template
- The body of the blocktagXDocletException
- if something goes wrongpublic void forAllResourceRefs(java.lang.String template) throws XDocletException
template
- The body of the blocktagXDocletException
- if something goes wrongpublic void forAllResourceEnvRefs(java.lang.String template) throws XDocletException
template
- The body of the blocktagXDocletException
- if something goes wrongpublic void forAllSecurityRoles(java.lang.String template) throws XDocletException
template
- The body of the blocktagXDocletException
- if something goes wrongpublic void forAllEnvEntries(java.lang.String template) throws XDocletException
template
- The body of the blocktagXDocletException
- if something goes wrongpublic java.lang.String extendsFrom(java.util.Properties attributes) throws XDocletException
attributes
- XDocletException