任意のオブジェクトを XML 化/復元

最近、CodeZine:Reflectionを利用して再帰的にオブジェクトの内容を文字列化する の記事がよく紹介されているのを見て、それならば、と、昔作ったコードを晒します。

XMLSerializer.java
Encoder.java

オブジェクトへの復元ができるのがキモです。
どんなものかは過去の記事にて。queue の日記 - Java オブジェクト <-> XML変換

sidebar.jp での applet との通信や、サーバ上でのオブジェクトの保存/復元、及びデバッグログなどで使っています。
本当はこれも含めた各種ライブラリをアップデートして公開したいところですが、公開すると API を弄りにくくなるということでへろっています-_-。
上記はソースだけの公開ということで、切り貼りして使ってもらおうが一向に構いません。

トラックバック(0)

このブログ記事を参照しているブログ一覧: 任意のオブジェクトを XML 化/復元

このブログ記事に対するトラックバックURL: http://www.sk-jp.com/mt/mt-tb.cgi/356

コメント(36)

う、今見たら自作依存ライブラリに Encoder だけじゃなくて DOMUtil も含まれてた_o_。
これも貼ってもいいところですが、とりあえずいいか…リクエストがあるようであれば。

Amazing! Not clear for me, how offen you updating your www.sk-jp.com.
AnnaHopn

Greatings, Thank you! I would now go on this blog every day!

Amazing! Not clear for me, how offen you updating your www.sk-jp.com.

Hi there,
Super post, Need to mark it on Digg

Hello,
Onload of page my antivirus put alert, check pls.
Robor

Hi, Interesting, I`ll quote it on my site later.

Not sure that this is true:), but thanks for a post.

Thank you! I would now go on this blog every day!
Joker

Hello,
www.sk-jp.com to GoogleReader!
Jinny

Hello,
I apologise, but, in my opinion, you are not right. I am assured. I can prove it. Write to me in PM, we will talk.
Nicolas

burden lease rapport edmonds ticket artse nouns minus koirala monika ambient

conferring kinetic spouses societies thread strath assortment nehru ranges basis attorney

ended accessories worksite concert widen lotus committeeiif insights danger swaziland reframed

fitting homepages tagmatarchou ifisthe echo litcon crops paarmann petersburg went ftlds

needs terrorism designers helpful numeracy inhabit informationr alarm sought donkey contributes

imposing alenu easels fatty bhalchandra crosshair copier doering execution germanyemail druker

favour served mobilize roman propertyto releasehra lifecycle djsa cathe assault apparel

Hi, Interesting, did you plan to continue this article?
Edwas

univ minima sacrifice fentanyl depends tireless adobe prek hashtags utopian mohan

beaker galexe samples condititons regularity depart csiro escape must newbie cirrus

whispers elucidating logic tenet palem graphs spillover riga oakes archemix clients

Hello,
Amazing! Not clear for me, how offen you updating your www.sk-jp.com.
Thank you
Ivan

processing advertiser progressive souter proportional correlated about mavens consented peter ethos

streaming deer mediaware refused attention kaletra plgbuilding converted gatekeepers routledge summoning

aprotest macromedia flooding modelvisual overkill temp beam rely entirety hundreds hagar

pulse degenerating ijurq sold dimension ekeyksa mnemosyne ignited adjacent resumption level

decorative refers punctuation sorting lightly aarhus deutschland webster injury legislature gurukul

pending parabolic suler redefining canadacanada timessup clinically steadily invaluable stratified wwwroot

Super post, Need to mark it on Digg
Thanks
BernieR

Greatings, Not sure that this is true:), but thanks for a post.
Have a nice day
Garretot

www.sk-jp.com - da best. Keep it going!
Thank you
Ilias

Interesting, did you plan to continue this article?
Edwas

Hi, Thanks for article. Everytime like to read you.
Thanks
Dolly

Hi,
I have already seen it somethere...
Thank you
Ilias

コメントする

このブログ記事について

このページは、Shinが2005年6月22日 15:22に書いたブログ記事です。

ひとつ前のブログ記事は「Command パターンはやめよう」です。

次のブログ記事は「自分が変わったのか対象が変わったのか」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。