Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > media > main-release > by-pkgid > 3b947bdd5e0f96306962f8c5b04dc08f > files > 78

xdoclet-manual-1.2.3-8.0.3mdv2010.0.noarch.rpm


<html>
<head>
</head>
<body bgcolor="#ffffff">

<h2>I18n</h2>

<p>Implemented in class <a href="../api/xdoclet/tagshandler/TranslatorTagsHandler.html">xdoclet.tagshandler.TranslatorTagsHandler</a>.</p>
<ul>
  <li><a href="#block">Block Tags</a>
  <li><a href="#content">Content Tags</a>
</ul>

<h3><a name="block">Block Tags:</a></h3>

<h3><a name="content">Content templates:</a></h3>

<h4><a name="getString">getString</a> (content template)</h4>
<p>Returns a localized text string.</p>
<table border="1" cellpadding="2" cellspacing="0" width="100%">
  <tr>
    <td width="25%" valign="top">
      <i>
           [bundle]
      </i>
    </td>
    <td width="75%" valign="top">
       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<br></br>
    </td>
  </tr>
  <tr>
    <td width="25%" valign="top">
      <i>
           resource
      </i>
    </td>
    <td width="75%" valign="top">
       The resource key to look up in the bundle.<br></br>
    </td>
  </tr>
  <tr>
    <td width="25%" valign="top">
      <i>
           [arguments]
      </i>
    </td>
    <td width="75%" valign="top">
       An optional list of arguments to be substituted for any placeholders ({0}, {1} etc.) in the resource value string.<br></br>
    </td>
  </tr>
  <tr>
    <td width="25%" valign="top">
      <i>
           [delimiter]
      </i>
    </td>
    <td width="75%" valign="top">
       The arguments parameter is delimited by the string specified in the delimiter parameter (default is a comma).<br></br>
    </td>
  </tr>
</table>

</body>
</html>