[jdom-interest] Toward beta 9

Elliotte Rusty Harold elharo at metalab.unc.edu
Sat Apr 12 08:56:32 PDT 2003


At 7:54 AM -0700 4/12/03, Philip Nelson wrote:

>This will have to wait.  Brad, I think what you ran across is a problem with
>serializing inner classes.  Basically, it doesn't work and Sun strongly
>recommends not doing it.  So, options might be
>- make the subclasses visible (yuck)

You don't have to go that far. You can make them non-public classes 
in the org.jdom.input package instead of inner classes. That 
effectively hides them.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list