>>>>> "Jim" == Jim Cobban <[EMAIL PROTECTED]> writes:
Jim> The class definition is:
Jim> public class QuerySubDivTag extends QueryTag
Jim> {
Jim> public void setLang(String lang)
Jim> {
Jim> super.setLang(lang);
Jim> }
Jim> public void setMaxRows(String repeats)
Jim> {
Jim> super.setMaxRows(repeats);
Jim> }
Jim> The definition of the methods in the base class is:
Jim> public void setLang(String lang)
Jim> {
Jim> if ((lang != null) && lang.equalsIgnoreCase("FR"))
Jim> Language = FRENCH;
Jim> else
Jim> Language = ENGLISH;
Jim> } // LangTag.setLang
Jim> public void setMaxRows(String repeats)
Jim> {
Jim> try
Jim> {
Jim> maxRows = Integer.parseInt(repeats);
Jim> }
Jim> catch(NumberFormatException nfe)
Jim> {
Jim> maxRows = 50;
Jim> }
Jim> } // QueryTag.setMaxRows
And there are no other overloaded setters for these properties in either of
these two classes? Is the base class a "public" class? Are there any "getter"
methods for either of these two properties?
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED] ; SCJP
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>