Re: un-finalize XMLDataObject?
Rich Unger <[email protected]> Mon, 13 Dec 2004 12:09:57 -0800
| Newsgroups | gmane.comp.java.netbeans.modules.xml.devel |
|---|---|
| Message-ID | <[email protected]> |
Petr Kuzel wrote: > Rich Unger wrote: > >> Are there any objections to me un-finalizing the class >> org.netbeans.modules.xml.core.XMLDataObject (in the trunk)? The >> comment says: >> >> * This class is final only for performance reasons, >> * can be unfinaled if desired. >> >> ...and it'd be nice for folks implementing DataObjects of some >> specific xml format to be able to subclass here. > > > I'd not agree. It was intention. Implementaion is just > few lines putting together various supports. Please take > XSLDataObject and SchemaObject way if possible. > > Cc. > The problem with that approach is that you have to import SPI classes to make it work. Doable, but not particularly clean. Rich