xdoclet.modules.web
Class WebTagsHandler
java.lang.Object
xdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.web.WebTagsHandler
public class WebTagsHandler
extends xdoclet.XDocletTagSupport
- Marcus Brito (pazu@animegaiden.com.br)
- Christoph G. Jung (christoph.jung@infor.de)
static String | choosePackage(String packageName, String packagePattern, String subtask)
|
String | extendsFrom(Properties attributes) - Returns the name of the class home interface extends.
|
void | forAllEjbLocalRefs(String template) - Process the tag body for each web:ejb-local-ref tag in all source files.
|
void | forAllEjbRefs(String template) - Process the tag body for each web:ejb-ref tag in all source files.
|
void | forAllEnvEntries(String template) - Process the tag body for each web:env-entry tag in all source files.
|
void | forAllResourceEnvRefs(String template) - Process the tag body for each web:resource-env-ref tag in all source files.
|
void | forAllResourceRefs(String template) - Process the tag body for each web:resource-ref tag in all source files.
|
void | forAllSecurityRoles(String template) - Process the tag body for each web:security-role tag in all source files.
|
static String | serviceEndpoint(Properties properties)
|
static String | serviceEndpoint(XClass clazz)
|
static String | servletName(Properties properties)
|
static String | servletName(XClass clazz)
|
static String | shortServletName(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 |
choosePackage
public static String choosePackage(String packageName,
String packagePattern,
String subtask)
extendsFrom
public String extendsFrom(Properties attributes)
throws xdoclet.XDocletException
Returns the name of the class home interface extends.
- The name of generated PK class.
xdoclet.XDocletException
-
forAllEjbLocalRefs
public void forAllEjbLocalRefs(String template)
throws xdoclet.XDocletException
Process the tag body for each web:ejb-local-ref tag in all source files. Look at forAllEjbRefs for some notes
about the behavior of this tag.
template
- The body of the blocktag
xdoclet.XDocletException
- if something goes wrong
forAllEjbRefs
public void forAllEjbRefs(String template)
throws xdoclet.XDocletException
Process the tag body for each web:ejb-ref tag in all source files. Please note that this tag already iterates
over all available sources; it should not be enclosed by a <XDtClass:forAllClasses> tag or any other
that process classes. This tag does not process tags with duplicated name attributes. If such tags occurs, only
the first tag is processed, and further tags will only emit a warning message.
template
- The body of the block tag
xdoclet.XDocletException
- if something goes wrong
forAllEnvEntries
public void forAllEnvEntries(String template)
throws xdoclet.XDocletException
Process the tag body for each web:env-entry tag in all source files. Look at forAllEjbRefs for some notes about
the behavior of this tag.
template
- The body of the blocktag
xdoclet.XDocletException
- if something goes wrong
forAllResourceEnvRefs
public void forAllResourceEnvRefs(String template)
throws xdoclet.XDocletException
Process the tag body for each web:resource-env-ref tag in all source files. Look at forAllEjbRefs for some notes
about the behavior of this tag.
template
- The body of the blocktag
xdoclet.XDocletException
- if something goes wrong
forAllResourceRefs
public void forAllResourceRefs(String template)
throws xdoclet.XDocletException
Process the tag body for each web:resource-ref tag in all source files. Look at forAllEjbRefs for some notes
about the behavior of this tag.
template
- The body of the blocktag
xdoclet.XDocletException
- if something goes wrong
forAllSecurityRoles
public void forAllSecurityRoles(String template)
throws xdoclet.XDocletException
Process the tag body for each web:security-role tag in all source files. Look at forAllEjbRefs for some notes
about the behavior of this tag.
template
- The body of the blocktag
xdoclet.XDocletException
- if something goes wrong
serviceEndpoint
public static String serviceEndpoint(Properties properties)
throws xdoclet.XDocletException
serviceEndpoint
public static String serviceEndpoint(XClass clazz)
throws xdoclet.XDocletException
servletName
public static String servletName(Properties properties)
servletName
public static String servletName(XClass clazz)
shortServletName
public static String shortServletName(XClass clazz)
Returns short version of the servlet name of the clazz.
clazz
- the class we want its short servlet name