Two comments: 1. In this particular case, all I need is the ability to override base class method getEnum(). No need to access or change member variables. As the class already defines getters for the members, the members can remain private.
2. I noticed that many members have package (default Java) visibility. An example is analysis.Token. Its two members startOffset and endOffset only have getters, but no setters. If you want to set these after the Token was constructed, you need to define a subclass in the org.apache.lucene.analysis package. In cases like this, I don't think it would harm to make them protected, such that subclasses outside the package can access them. Or add setters to the base class. - Andreas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]