[jdom-interest] CDATA sections in XMLOutputter
Elliotte Rusty Harold
elharo at metalab.unc.edu
Thu Jun 22 05:46:29 PDT 2000
At 4:02 PM -0700 6/21/00, Jason Hunter wrote:
>I'm not sure if I made this public before, but I've been throwing around
>the idea of a CdataString class that extended String and was a holder
>for CDATA sections -- since some people expressed a fervent desire to be
>able to preserve and construct CDATA sections. Having CdataString
>extend String means you can treat it like a normal String, but the
>outputter can behave intelligently, and you can explicitly construct a
>CDATA section if desired.
This won't work. java.lang.String is declared final. :-(
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| The XML Bible (IDG Books, 1999) |
| http://metalab.unc.edu/xml/books/bible/ |
| http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ |
| Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ |
+----------------------------------+---------------------------------+
More information about the jdom-interest
mailing list