|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.caucho.ResinWebTagsHandler
Template tags handler for Resin web.xml generation.
| Field Summary |
| Fields inherited from class xdoclet.XDocletTagSupport |
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
| Constructor Summary | |
ResinWebTagsHandler()
|
|
| Method Summary | |
void |
forAllCurrentTagParams(String template)
Iterates over all parameters of the current javadoc tag. |
String |
parameterAsElement(Properties props)
Writes the current javadoc parameter as an xml element of the form: |
String |
parameterAsInitParam()
Writes the current javadoc parameter as an xml element of the form: |
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. |
String |
parameterName()
Returns the current javadoc parameter name. |
String |
parameterValue()
Returns the current javadoc parameter value. |
String |
sourceComment()
Writes an xml comment indicating the current method or class name. |
| Methods inherited from class xdoclet.template.TemplateTagHandler |
getXJavaDoc, setXJavaDoc |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResinWebTagsHandler()
| Method Detail |
public void forAllCurrentTagParams(String template)
throws XDocletException
template -
XDocletException
public String parameterAsElement(Properties props)
throws XDocletException
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.parameter-value
props -
XDocletException
public String parameterAsInitParam()
throws XDocletException
XDocletException
public String parameterAsXml(Properties props)
throws XDocletException
props -
XDocletExceptionparameterAsElement(java.util.Properties),
parameterAsInitParam()
public String parameterName()
throws XDocletException
XDocletException
public String parameterValue()
throws XDocletException
XDocletException
public String sourceComment()
throws XDocletException
XDocletException
|
http://xdoclet.sourceforge.net/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||