[jdom-interest] Fast Factory

Jason Hunter jhunter at acm.org
Mon May 26 19:12:55 PDT 2003


>>Seems like the only difference is whether you leave the data fields
>>protected or rely on a create() call, and since there's no diff it
>>seems better to leave the data fields protected so subclassers can
>>better utilize them.
> 
> 
> Okay then it would make sense to find a way to make content and attributes
> "protected List" instead of "private" so subclassers could better utilize
> them also.
> 
> Brad

Or just rely on subclassers to define their own variable for holding 
content if they don't like how we do it.  As you pointed out, the 
current implementation basically relies on that being a ContentList, and 
we don't want to expose ContentList.

-jh-





More information about the jdom-interest mailing list