[jdom-interest] protected ContentList in Document
Bradley S. Huffman
hip at a.cs.okstate.edu
Sun May 4 12:30:20 PDT 2003
Elliotte Rusty Harold writes:
> 1. Make the content field private (My preferred option)
> 2. Make ContentList a public class
> 3. Declare the content field to have type List rather than ContentList
Cann't do #3 cause Element uses some methods ContentList has and List doesn't.
How about #4 make all fields private in all classes in beta 10 (except of
course those static ones like attribute type), and revert back to protected
only after someone shows good reason too.
Brad
More information about the jdom-interest
mailing list