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

-- 
__________________________________________
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
Geschäftsführung:
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:06 GMT