W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > June 2010

Re: RDFa DOM API - New Editor's Draft (regarding DataIterator)

From: Benjamin Adrian <benjamin.adrian@dfki.de>
Date: Tue, 01 Jun 2010 16:54:48 +0200
Message-ID: <4C051F38.3050907@dfki.de>
To: Ivan Herman <ivan@w3.org>, RDFa WG <public-rdfa-wg@w3.org>
Am 31.05.2010 10:39, schrieb Ivan Herman:
> First of all, I think my question had two parts. One is why having the DataParser interface separately (and that is what you are arguing for below) and the second is what is the role of the 'DataIterator' method within that interface. You did not answer on the second...
The DataIterator gives developers the chance to parse RDFa content by 
less consuming memory than the standard parse method that
stores all triples into the store. Therefore it provides you an iterator 
that let's you traverse through RDF content inside the DOM tree.
For each triple you can decide to store it or to do something else with it.

It's similar to the NodeIterator of the DOM API.

Best regards,


Benjamin Adrian
Email : benjamin.adrian@dfki.de
WWW : http://www.dfki.uni-kl.de/~adrian/
Tel.: +49631 20575 145
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Received on Tuesday, 1 June 2010 14:55:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:47 UTC