Streaming API for XML (StAX) is an application programming interface to read and write XML documents, originating from the Java programming language community. Traditionally, XML APIs are either: tree based - the entire document is read into memory as a tree structure for random access by the calling application event based - the application registers to receive events as entities are encountered within the source document.

PropertyValue
dbpedia-owl:abstract
  • Streaming API for XML (StAX) ist ein Application Programming Interface (API), um XML-Dateien aus Java zu verarbeiten. Die Referenzimplementierung ist als freie Software unter den Bedingungen der Apache-Lizenz verfügbar.
  • Streaming API for XML (StAX) is an application programming interface to read and write XML documents, originating from the Java programming language community. Traditionally, XML APIs are either: tree based - the entire document is read into memory as a tree structure for random access by the calling application event based - the application registers to receive events as entities are encountered within the source document. Both have advantages; the former allows for random access to the document, the latter requires a small memory footprint and is typically much faster. These two access metaphors can be thought of as polar opposites. A tree based API allows unlimited, random access and manipulation, while an event based API is a 'one shot' pass through the source document. StAX was designed as a median between these two opposites. In the StAX metaphor, the programmatic entry point is a cursor that represents a point within the document. The application moves the cursor forward - 'pulling' the information from the parser as it needs. This is different from an event based API - such as SAX - which 'pushes' data to the application - requiring the application to maintain state between events as necessary to keep track of location within the document.
  • Streaming API for XML(StAX)は、JavaでXML文書を読み書きするためのAPIである。 従来のXML APIは、次のどちらかである。 ツリーベース - 文書全体がツリー構造でメモリに読み込まれ、呼び出し元アプリケーションはランダムアクセスできる。 イベントベース - 文書内に出現したエンティティごとに、登録されたアプリケーションがイベントを受け取る。 これらはそれぞれに利点がある。前者(例えばDOM)は文書へのランダムアクセスが可能であり、後者(例えばSAX)は使用メモリが少なくより高速に動作する場合が多い。 この2つは対極に位置するアクセス手法であると言える。ツリーベースのAPIは制約のないランダムアクセスとデータの操作が可能である一方、イベントベースのAPIは文書を1回スキャンするだけである。 StAXは、その中間の手法として設計された。StAXの考え方では、プログラムの操作点は文書内のある地点を指すカーソルである。アプリケーションがカーソルを進めるということは、必要に応じて自分がパーサーから情報を取り出すことになる(pull型)。これはSAXのようなイベントベースのAPIとは異なる。SAXではパーサーがアプリケーションにデータを送りつけるので(push型)、アプリケーション側が文書内の位置を追跡しなければならない場合は必要に応じてイベントとイベントの間で状態を保持しておく必要がある。
  • Streaming API for XML (StAX) jest interfejsem programistycznym aplikacji (API) napisanym w języku Java służącym do odczytywania i zapisywania dokumentów w formacie XML. Standard ten jest zrealizowaną w Javie ideą parsowania strumieniowego. Został on opracowany w ramach JSR-173, a implementacja parsera była znana także jako Sun Java Streaming XML Parser.
  • XML流API(Streaming API for XML,缩写StAX)是用于读写XML文档的应用程序接口,起源于Java社群,JSR 173定义了这个API。 传统上来说,XML的API无外乎是以下两种: 基于树的API- 整个文档以树的形式被读入内存,可以被调用程序随机访问。 基于事件的API - 应用注册接收事件,当原XML文档遇到事体时就会产生这些事件。 两者皆有优点,前者(例如DOM)允许对文档进行随机访问,而后者(例如SAX)需要较小的内存开销,并却通常更快。 这两个方法可以认为是正好相反。基于树的API允许无限制的,随机的访问和操纵,而基于时间的API是一次性地遍历源文档。 StAX被设计为这两者的一个折中。在StAX中,程序的切入点是表示XML文档中一个位置的光标。应用程序在需要时向前移动光标,从解析器拉出信息。与基于事件的API(如SAX)将“数据推送”给应用程序不同的是,SAX需要应用程序维持时间间的状态,以保持文档内的位置信息。
  • Streaming API for XML ou StAX est une API permettant d'exploiter les documents XML. Tout comme SAX, StAX n'encombre pas la mémoire et le document est lu linéairement, mais c'est l'application qui tire explicitement l'information du document (avec SAX, l'information est envoyé à l'application comme un événement). Tout comme DOM, c'est l'application qui détermine ce qui doit être lu et à quel moment. D'une certaine manière, StAX se base sur le motif de conception itérateur.
dbpedia-owl:wikiPageExternalLink
dcterms:subject
rdf:type
rdfs:comment
  • Streaming API for XML (StAX) ist ein Application Programming Interface (API), um XML-Dateien aus Java zu verarbeiten. Die Referenzimplementierung ist als freie Software unter den Bedingungen der Apache-Lizenz verfügbar.
  • Streaming API for XML(StAX)は、JavaでXML文書を読み書きするためのAPIである。 従来のXML APIは、次のどちらかである。 ツリーベース - 文書全体がツリー構造でメモリに読み込まれ、呼び出し元アプリケーションはランダムアクセスできる。 イベントベース - 文書内に出現したエンティティごとに、登録されたアプリケーションがイベントを受け取る。 これらはそれぞれに利点がある。前者(例えばDOM)は文書へのランダムアクセスが可能であり、後者(例えばSAX)は使用メモリが少なくより高速に動作する場合が多い。 この2つは対極に位置するアクセス手法であると言える。ツリーベースのAPIは制約のないランダムアクセスとデータの操作が可能である一方、イベントベースのAPIは文書を1回スキャンするだけである。 StAXは、その中間の手法として設計された。StAXの考え方では、プログラムの操作点は文書内のある地点を指すカーソルである。アプリケーションがカーソルを進めるということは、必要に応じて自分がパーサーから情報を取り出すことになる(pull型)。これはSAXのようなイベントベースのAPIとは異なる。SAXではパーサーがアプリケーションにデータを送りつけるので(push型)、アプリケーション側が文書内の位置を追跡しなければならない場合は必要に応じてイベントとイベントの間で状態を保持しておく必要がある。
  • Streaming API for XML (StAX) jest interfejsem programistycznym aplikacji (API) napisanym w języku Java służącym do odczytywania i zapisywania dokumentów w formacie XML. Standard ten jest zrealizowaną w Javie ideą parsowania strumieniowego. Został on opracowany w ramach JSR-173, a implementacja parsera była znana także jako Sun Java Streaming XML Parser.
  • XML流API(Streaming API for XML,缩写StAX)是用于读写XML文档的应用程序接口,起源于Java社群,JSR 173定义了这个API。 传统上来说,XML的API无外乎是以下两种: 基于树的API- 整个文档以树的形式被读入内存,可以被调用程序随机访问。 基于事件的API - 应用注册接收事件,当原XML文档遇到事体时就会产生这些事件。 两者皆有优点,前者(例如DOM)允许对文档进行随机访问,而后者(例如SAX)需要较小的内存开销,并却通常更快。 这两个方法可以认为是正好相反。基于树的API允许无限制的,随机的访问和操纵,而基于时间的API是一次性地遍历源文档。 StAX被设计为这两者的一个折中。在StAX中,程序的切入点是表示XML文档中一个位置的光标。应用程序在需要时向前移动光标,从解析器拉出信息。与基于事件的API(如SAX)将“数据推送”给应用程序不同的是,SAX需要应用程序维持时间间的状态,以保持文档内的位置信息。
  • Streaming API for XML (StAX) is an application programming interface to read and write XML documents, originating from the Java programming language community. Traditionally, XML APIs are either: tree based - the entire document is read into memory as a tree structure for random access by the calling application event based - the application registers to receive events as entities are encountered within the source document.
  • Streaming API for XML ou StAX est une API permettant d'exploiter les documents XML. Tout comme SAX, StAX n'encombre pas la mémoire et le document est lu linéairement, mais c'est l'application qui tire explicitement l'information du document (avec SAX, l'information est envoyé à l'application comme un événement). Tout comme DOM, c'est l'application qui détermine ce qui doit être lu et à quel moment. D'une certaine manière, StAX se base sur le motif de conception itérateur.
rdfs:label
  • Streaming API for XML
  • Streaming API for XML
  • StAX
  • Streaming API for XML
  • Streaming API for XML
  • StAX
owl:sameAs
foaf:page
is dbpedia-owl:wikiPageRedirects of
is owl:sameAs of
is foaf:primaryTopic of