xdoclet.modules.web

Class WebTagsHandler

public class WebTagsHandler extends XDocletTagSupport

Version: $Revision: 1.4 $

Author: Marcus Brito (pazu@animegaiden.com.br) Christoph G. Jung (christoph.jung@infor.de)

UNKNOWN: Jun 28, 2002 namespace = "Web"

Method Summary
static StringchoosePackage(String packageName, String packagePattern, String subtask)
StringextendsFrom(Properties attributes)
Returns the name of the class home interface extends.
voidforAllEjbLocalRefs(String template)
Process the tag body for each web:ejb-local-ref tag in all source files.
voidforAllEjbRefs(String template)
Process the tag body for each web:ejb-ref tag in all source files.
voidforAllEnvEntries(String template)
Process the tag body for each web:env-entry tag in all source files.
voidforAllResourceEnvRefs(String template)
Process the tag body for each web:resource-env-ref tag in all source files.
voidforAllResourceRefs(String template)
Process the tag body for each web:resource-ref tag in all source files.
voidforAllSecurityRoles(String template)
Process the tag body for each web:security-role tag in all source files.
static StringserviceEndpoint(XClass clazz)
static StringserviceEndpoint(Properties properties)
static StringservletName(Properties properties)
static StringservletName(XClass clazz)
static StringshortServletName(XClass clazz)
Returns short version of the servlet name of the clazz.

Method Detail

choosePackage

public static String choosePackage(String packageName, String packagePattern, String subtask)

extendsFrom

public String extendsFrom(Properties attributes)
Returns the name of the class home interface extends.

Parameters: attributes

Returns: The name of generated PK class.

Throws: XDocletException

UNKNOWN: type = "content"

forAllEjbLocalRefs

public void forAllEjbLocalRefs(String template)
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.

Parameters: template The body of the blocktag

Throws: XDocletException if something goes wrong

UNKNOWN: type = "block"

forAllEjbRefs

public void forAllEjbRefs(String template)
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.

Parameters: template The body of the block tag

Throws: XDocletException if something goes wrong

UNKNOWN: type = "block"

forAllEnvEntries

public void forAllEnvEntries(String template)
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.

Parameters: template The body of the blocktag

Throws: XDocletException if something goes wrong

UNKNOWN: type = "block"

forAllResourceEnvRefs

public void forAllResourceEnvRefs(String template)
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.

Parameters: template The body of the blocktag

Throws: XDocletException if something goes wrong

UNKNOWN: type = "block"

forAllResourceRefs

public void forAllResourceRefs(String template)
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.

Parameters: template The body of the blocktag

Throws: XDocletException if something goes wrong

UNKNOWN: type = "block"

forAllSecurityRoles

public void forAllSecurityRoles(String template)
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.

Parameters: template The body of the blocktag

Throws: XDocletException if something goes wrong

UNKNOWN: type = "block"

serviceEndpoint

public static String serviceEndpoint(XClass clazz)

serviceEndpoint

public static String serviceEndpoint(Properties properties)

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.

Parameters: clazz the class we want its short servlet name

Returns: The shortName value

See Also: WebTagsHandler