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

API question

From: Toby Inkster <tai@g5n.co.uk>
Date: Sun, 31 Oct 2010 16:05:03 +0000
To: public-rdfa-wg@w3.org
Message-ID: <20101031160503.1895d9cd@miranda.g5n.co.uk>
An instance of TypedLiteral will have a "valueOf" method. When this is
called, how does it "know" which TypedLiteralConverter to use?

TypedLiteralConverters are registered in the DataContext, but there
could theoretically be several DataContext objects, each instantiated
via document.data.createContext(), and each with different converters
registered.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Sunday, 31 October 2010 16:05:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:22 UTC