xdoclet.modules.caucho

Class ResinWebTagsHandler

public class ResinWebTagsHandler extends XDocletTagSupport

Template tags handler for Resin web.xml generation.

Author: Yoritaka Sakakura (yori@teardrop.org)

UNKNOWN: June 5, 2002 namespace = "Resin"

Method Summary
voidforAllCurrentTagParams(String template)
Iterates over all parameters of the current javadoc tag.
StringparameterAsElement(Properties props)
Writes the current javadoc parameter as an xml element of the form:
 

 parameter-value 
If the parameter maps to a non-empty value in the attributes, value is used as the xml element name instead of the javadoc parameter name.
StringparameterAsInitParam()
Writes the current javadoc parameter as an xml element of the form:
 
 
StringparameterAsXml(Properties props)
Writes the current javadoc parameter as an element or an init-param, depending on the tag attributes; if the parameter name is contained in the attributes, the 'element' form is used, else the 'init-parm' form.
StringparameterName()
Returns the current javadoc parameter name.
StringparameterValue()
Returns the current javadoc parameter value.
StringsourceComment()
Writes an xml comment indicating the current method or class name.

Method Detail

forAllCurrentTagParams

public void forAllCurrentTagParams(String template)
Iterates over all parameters of the current javadoc tag.

Parameters: template

Throws: XDocletException

UNKNOWN: type = "block"

parameterAsElement

public String parameterAsElement(Properties props)
Writes the current javadoc parameter as an xml element of the form:
 

 parameter-value 
If the parameter maps to a non-empty value in the attributes, value is used as the xml element name instead of the javadoc parameter name.

Parameters: props

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

parameterAsInitParam

public String parameterAsInitParam()
Writes the current javadoc parameter as an xml element of the form:
 
 

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

parameterAsXml

public String parameterAsXml(Properties props)
Writes the current javadoc parameter as an element or an init-param, depending on the tag attributes; if the parameter name is contained in the attributes, the 'element' form is used, else the 'init-parm' form.

Parameters: props

Returns:

Throws: XDocletException

See Also: parameterAsElement parameterAsInitParam

UNKNOWN: type = "content"

parameterName

public String parameterName()
Returns the current javadoc parameter name.

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

parameterValue

public String parameterValue()
Returns the current javadoc parameter value.

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

sourceComment

public String sourceComment()
Writes an xml comment indicating the current method or class name.

Returns:

Throws: XDocletException

UNKNOWN: type = "content"