| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectxdoclet.template.TemplateTagHandlerxdoclet.XDocletTagSupportxdoclet.tagshandler.TranslatorTagsHandlerpublic class TranslatorTagsHandlerextends XDocletTagSupportTranslator, allowing text in generated files to be localised using the
resource bundles generated by the externalizer subtask.
Field Summary |
Fields inherited from class xdoclet.XDocletTagSupport | |
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER | |
Method Summary | |
String |
|
Methods inherited from class xdoclet.template.TemplateTagHandler | |
getXJavaDoc, setXJavaDoc | |
public String getString(Properties attributes)
throws XDocletExceptionReturns a localized text string.
- Parameters:
attributes- The attributes of the template tag
- Returns:
- The localized string
- Throws:
XDocletException- Description of Exceptiondoc.tag
- type = "content"
doc.param
- name = "bundle" optional = "true" description = "The base name of the resource bundle to use e.g. xdoclet.modules.ejb (corresponding to modules/ejb/src/xdoclet/modules/ejb/resources/Messages.properties) etc. It defaults to xdoclet"
- name = "resource" optional = "false" description = "The resource key to look up in the bundle."
- name = "arguments" optional = "true" description = "An optional list of arguments to be substituted for any placeholders ({0}, {1} etc.) in the resource value string."
- name = "delimiter" optional = "true" description = "The arguments parameter is delimited by the string specified in the delimiter parameter (default is a comma)."
| http://xdoclet.sourceforge.net/ |