W3C home > Mailing lists > Public > public-media-annotation@w3.org > November 2009

[MAWG] Web IDL version of the generic GET-method

From: Chris Poppe <Chris.Poppe@ugent.be>
Date: Mon, 16 Nov 2009 10:40:35 +0100
To: <public-media-annotation@w3.org>
Message-ID: <017f01ca66a0$d95cf970$8c16ec50$@Poppe@ugent.be>
Dear all,

 

According to my action item (ACTION-187 Create a Web IDL specification to
the generic GET Method) I hereby sent the Web IDL specification of such a
method (open for discussion). This specification is based on the current
strawman API design [1]

 

module mawg {

                interface MediaResource {

 

                               // Generic Get method

                               object[] getProperty(in propertyName, in
optional DOMString sourceFormat, in optional DOMString subtype, in optional
DOMString language, in optional DOMstring fragment );

 

                               //Iterating

                                DOMString[] getPropertyNamesWithValues(in
optional DOMString sourceFormat, in optional DOMString language, in optional
DOMString fragment);

                               DOMString[] getSourceFormatsWithValues(in
optional DOMString language);

                               DOMString getOriginalData(in DOMString
sourceFormat);

                

//Method for retrieval of the reason of an error

                               DOMString getDiagnosis();

}

}

 

I didn't know what the appropriate place would be for this updated
definition. Do we create an API for Media Resource 1.1? And where should it
be placed (Drafts in WG Space, Drafts in development, .)? 

 

[1]
http://www.w3.org/2008/WebVideo/Annotations/wiki/Strawman_API_design_and_not
es 

 

Kind regards,

Chris

 

Ghent University - IBBT
Faculty of Engineering
Department of Electronics and Information Systems (ELIS)
Multimedia Lab Gaston Crommenlaan 8 bus 201
B-9050 Ledeberg-Ghent
Belgium

 
t: +32 9 33 14959
f: +32 9 33 14896
t secr: +32 9 33 14911
e:  <mailto:chris.poppe@ugent.be> chris.poppe@ugent.be

 

URL:  <http://multimedialab.elis.ugent.be>
http://multimedialab.elis.ugent.be

 
Received on Monday, 16 November 2009 09:41:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 November 2009 09:41:19 GMT