WEKO3
アイテム
ストリームベースXML処理を支援するJavaクラス生成器
https://ipsj.ixsq.nii.ac.jp/records/16526
https://ipsj.ixsq.nii.ac.jp/records/1652678fa6943-318b-4c7a-936b-e2c5c2715383
| 名前 / ファイル | ライセンス | アクション |
|---|---|---|
|
|
Copyright (c) 2007 by the Information Processing Society of Japan
|
|
| オープンアクセス | ||
| Item type | Trans(1) | |||||||
|---|---|---|---|---|---|---|---|---|
| 公開日 | 2007-03-15 | |||||||
| タイトル | ||||||||
| タイトル | ストリームベースXML処理を支援するJavaクラス生成器 | |||||||
| タイトル | ||||||||
| 言語 | en | |||||||
| タイトル | A Generator of Java Class Files for Stream-based Processing of XML Documents | |||||||
| 言語 | ||||||||
| 言語 | jpn | |||||||
| キーワード | ||||||||
| 主題Scheme | Other | |||||||
| 主題 | 発表概要 | |||||||
| 資源タイプ | ||||||||
| 資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||
| 資源タイプ | journal article | |||||||
| 著者所属 | ||||||||
| 電気通信大学大学院電気通信学研究科情報工学専攻 | ||||||||
| 著者所属 | ||||||||
| 電気通信大学大学院電気通信学研究科情報工学専攻 | ||||||||
| 著者所属(英) | ||||||||
| en | ||||||||
| Department of Computer Science, Graduate School of Electro-Communications, University of Electro-Communications | ||||||||
| 著者所属(英) | ||||||||
| en | ||||||||
| Department of Computer Science, Graduate School of Electro-Communications,University of Electro-Communications | ||||||||
| 著者名 |
杵淵, 哲也
岩崎, 英哉
× 杵淵, 哲也 岩崎, 英哉
|
|||||||
| 著者名(英) |
Tetsuya, Kinefuchi
Hideya, Iwasaki
× Tetsuya, Kinefuchi Hideya, Iwasaki
|
|||||||
| 論文抄録 | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | XML処理において,タグごとにイベント処理を記述するSAXやStAXといったストリームベースAPIを用いた記述は,木構造を直接扱うDOMなどのツリーベースAPIを用いた場合に比べてメモリ効率が良いという利点を持つ一方,パーサの処理がXML文書のどの部分まで進んだのかを追跡する必要があるため,記述が煩雑になりがちであり,プログラマへの負担が大きいという欠点がある.本発表では,ユーザにあらかじめアクセスする要素のパターンを記述してもらい,そのパターンに適合する要素を取り出すアクセサを自動生成する機構を提案する.自動生成されたアクセサはJavaのクラスとして提供され,主要なストリームベースAPIであるStAXを用いて処理を行う.煩雑な記述はアクセサによって隠蔽されるので,ユーザは生成されたクラスを用いて簡潔な記述によりXML処理を行うことができるようになる. | |||||||
| 論文抄録(英) | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | For processing XML documents, stream-based API such as SAX and StAX handles tag-oriented event-driven programs and has the advantage of memory efficiency, compared with tree-based API such as DOM that handles tree structure directly. However, programs using stream-based API are complex because they are necessary to track how far processing has proceed within the XML document, and thus impose large load on the programmer. To resolve this problem, we propose a mechanism that automatically generates accessors to the elements that are specified by the user. Each accessor is implemented as a method that uses StAX API. The proposed mechanism enables the user to write more concise XML processing programs, because complex descriptions are encapsulated within the accessors. | |||||||
| 書誌レコードID | ||||||||
| 収録物識別子タイプ | NCID | |||||||
| 収録物識別子 | AA11464814 | |||||||
| 書誌情報 |
情報処理学会論文誌プログラミング(PRO) 巻 48, 号 SIG4(PRO32), p. 76-76, 発行日 2007-03-15 |
|||||||
| ISSN | ||||||||
| 収録物識別子タイプ | ISSN | |||||||
| 収録物識別子 | 1882-7802 | |||||||
| 出版者 | ||||||||
| 言語 | ja | |||||||
| 出版者 | 情報処理学会 | |||||||