You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Michael Davey <Mi...@CodeRage.ORG> on 2002/10/24 18:21:16 UTC

[betwixt][digester] XMLEncode and XMLDecode

Hi,

I was looking for some details about JavaBeans last night, to help with coding a 
couple of methods that use betwixt and digester, when I 'discovered' XMLEncode 
and XMLDecode in Java 2 SE 1.4.

http://java.sun.com/j2se/1.4/docs/api/java/beans/XMLDecoder.html
http://java.sun.com/j2se/1.4/docs/api/java/beans/XMLEncoder.html

Apologies if this is common knowledge - It was all new to me.

Not as flexible as the combination of betwixt and digester, but it has a nice 
clean API.  Perhaps an enhanced version (in the oac.betwixt or oac.digester 
namespace) would be a good goal?

-- 
Michael


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [betwixt][digester] XMLEncode and XMLDecode

Posted by James Strachan <ja...@yahoo.co.uk>.
From: "Michael Davey" <Mi...@CodeRage.ORG>
> I was looking for some details about JavaBeans last night, to help with
coding a
> couple of methods that use betwixt and digester, when I 'discovered'
XMLEncode
> and XMLDecode in Java 2 SE 1.4.
>
> http://java.sun.com/j2se/1.4/docs/api/java/beans/XMLDecoder.html
> http://java.sun.com/j2se/1.4/docs/api/java/beans/XMLEncoder.html
>
> Apologies if this is common knowledge - It was all new to me.
>
> Not as flexible as the combination of betwixt and digester, but it has a
nice
> clean API.  Perhaps an enhanced version (in the oac.betwixt or
oac.digester
> namespace) would be a good goal?

Agreed.

The only downside is that its JDK1.4 specific. We could implement a
derivation of XMLEncoder and XMLDecoder that use betwixt/digester under the
covers. Or we could just create similar objects that could work on any JDK.

James
-------
http://radio.weblogs.com/0112098/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>