xdoclet.modules.externalizer
Class ExternalizerTagsHandler
java.lang.Object
xdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.externalizer.ExternalizerTagsHandler
- public class ExternalizerTagsHandler
- extends XDocletTagSupport
Tags used in generating & using externalised property resource bundles.
- Version:
- $Revision: 1.7 $
- Author:
- Ara Abrahamian (ara_e_w@yahoo.com)
- xdoclet.taghandler
- namespace = "Externalizer"
- created
- May 30, 2002
Methods inherited from class xdoclet.XDocletTagSupport |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalizerTagsHandler
public ExternalizerTagsHandler()
forAllFieldTags
public void forAllFieldTags(String template)
throws XDocletException
- Evaluate the body for all field tags. Works only in context of
externalizer
subtask.
- Parameters:
template
- The body of the block tag
- Throws:
XDocletException
- doc.tag
- type = "block"
bundleKey
public String bundleKey()
throws XDocletException
- Current resource bundle name, will be called by
propertiestranslator
subtask.
- Returns:
- bundle name
- Throws:
XDocletException
- doc.tag
- type = "content"
key
public String key()
throws XDocletException
- The current key.
- Returns:
- key
- Throws:
XDocletException
- doc.tag
- type = "content"
value
public String value()
throws XDocletException
- The current value, with Unicode escapes where necessary.
- Returns:
- value
- Throws:
XDocletException
- doc.tag
- type = "content"