I think it is beneficial to support both the value of key and alternately an
additional tag.
Given below are some examples:
/** @msg.message = "Delete Transaction" */
String TXN_DELETE = "transaction.delete";
public class Car {
String _make;
int _year;
private Car(String make, int year) {
_make = make;
_year = year;
}
public String getMake() {
return _make;
}
public int getYear() {
return _year;
}
public String getDetails() {
return CarTranslator.getString(_make);
}
/** @msg.message = "Audi 2003/8 cyl/$30, 000" key = "car.audi" */
public static final Car GERMAN_CAR = new Car("Audi", 2003);
/** @msg.message = "Toyota/4 cyl/$20, 000" key = "car.toyota" */
public static final Car JAPANESE_CAR = new Car("Toyota", 2004);
}
--- On Tue 11/25, Konstantin Priblouda < [EMAIL PROTECTED] > wrote:
From: Konstantin Priblouda [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Tue, 25 Nov 2003 01:36:50 -0800 (PST)
Subject: Re: [Xdoclet-user] Externalizer
<br>--- Srinivas Pavani <[EMAIL PROTECTED]> wrote:<br>> <br>> Is there any way to
change the output produced by<br>> the Externalizer? The properties produced are
the<br>> lower case version of the field name and not the<br>> field value. I would
like to see the field value in<br>> the properties file.<br>> <br><br>unfortunately
not. xjavadic ( java source code parser<br>)<br>is not aware of field values - it does
not dive as<br>deep...<br><br><br>I personally use lovercased value of property name.
<br><br>Though we are open for enhancement
proposals.<br><br>regards,<br><br>=====<br>----[ Konstantin Pribluda ( ko5tik )
]----------------<br>Zu Verst�rkung meines Teams suche ich ab Sofort
einen<br>Softwareentwickler[In] f�r die Festanstellung. <br>Arbeitsort: Mainz
<br>Skills: Programieren, Kentnisse in OpenSource-Bereich<br>----[
http://www.pribluda.de
]------------------------<br><br>__________________________________<br>Do you
Yahoo!?<br>Free Pop-Up Blocker - Get it
now<br>http://companion.yahoo.com/<br><br><br>-------------------------------------------------------<br>This
SF.net email is sponsored by: SF.net Giveback Program.<br>Does SourceForge.net help
you be more productive? Does it<br>help you create better code? SHARE THE LOVE, and
help us help<br>YOU! Click Here:
http://sourceforge.net/donate/<br>_______________________________________________<br>xdoclet-user
mailing list<br>[EMAIL
PROTECTED]<br>https://lists.sourceforge.net/lists/listinfo/xdoclet-user<br>
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user