xdoclet.modules.externalizer
Class ExternalizerTagsHandler

java.lang.Object
  extended by xdoclet.template.TemplateTagHandler
      extended by xdoclet.XDocletTagSupport
          extended by 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

Field Summary
 
Fields inherited from class xdoclet.XDocletTagSupport
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
 
Constructor Summary
ExternalizerTagsHandler()
           
 
Method Summary
 java.lang.String bundleKey()
          Current resource bundle name, will be called by propertiestranslator subtask.
 void forAllFieldTags(java.lang.String template)
          Evaluate the body for all field tags.
 java.lang.String key()
          The current key.
 java.lang.String value()
          The current value, with Unicode escapes where necessary.
 
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 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

ExternalizerTagsHandler

public ExternalizerTagsHandler()
Method Detail

forAllFieldTags

public void forAllFieldTags(java.lang.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 java.lang.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 java.lang.String key()
                     throws XDocletException
The current key.

Returns:
key
Throws:
XDocletException
doc.tag
type = "content"

value

public java.lang.String value()
                       throws XDocletException
The current value, with Unicode escapes where necessary.

Returns:
value
Throws:
XDocletException
doc.tag
type = "content"

http://xdoclet.sourceforge.net/