- From: Richard Tibbett via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 18 Feb 2010 18:10:25 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/contacts In directory hutz:/tmp/cvs-serv442 Modified Files: Overview.html Log Message: - updated ContactProperties.addresses to include a 'types' attribute. Modified ContactAddress interface and create Address interface to this effect. - removed erroneous PutForwards from ContactProperties.impps attribute. Index: Overview.html =================================================================== RCS file: /sources/public/2009/dap/contacts/Overview.html,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- Overview.html 20 Jan 2010 13:27:45 -0000 1.39 +++ Overview.html 18 Feb 2010 18:10:23 -0000 1.40 @@ -542,7 +542,7 @@ country: 'USA'}]}</pre> </dd> <dt> - [PutForwards=value] attribute ContactField[] impps + attribute ContactField[] impps </dt> <dd> <p>One or more instant messaging and presence protocol addresses associated with the contact.</p> @@ -584,7 +584,7 @@ </p> <dl title='[NoInterfaceObject] interface ContactField' class='idl'> <dt> - attribute sequence<DOMString>? types + attribute DOMString[] types </dt> <dd> One or more contexts to associate with the given <code>value</code>. @@ -601,9 +601,31 @@ <section> <h2><a>ContactAddress</a> interface</h2> <p> - The ContactAddress interface is a reusable component that is used to support address information within the <a href='#contactproperties-interface'><code>ContactProperties</code></a> interface. + The ContactAddress interface is a reusable component that is used to support contact addresses within the <a href='#contactproperties-interface'><code>ContactProperties</code></a> interface. + It defines an optional <a href='#widl-ContactAddress-types'><code>types</code></a> parameter that can be provided with an <a href='#address-interface'><code>Address</code></a> <a href='#widl-ContactAddress-value'><code>value</code>(s)</a>. </p> - <dl title='[NoInterfaceObject] interface ContactAddress' class='idl'> + <dl title='[NoInterfaceObject] interface ContactAddress : Address' class='idl'> + <dt> + attribute DOMString[] types + </dt> + <dd> + One or more contexts to associate with the given <code>value</code>. + </dd> + <dt> + attribute Address value + </dt> + <dd> + One or more address for the user. + </dd> + </dl> + </section> + + <section> + <h2><a>Address</a> interface</h2> + <p> + The Address interface supports address information for use in the <a href='#contactaddress-interface'><code>ContactAddress</code></a> interface. + </p> + <dl title='[NoInterfaceObject] interface Address' class='idl'> <dt> attribute DOMString country </dt> @@ -660,7 +682,7 @@ </dd> </dl> </section> - + <section> <h2><a>ContactOptions</a> interface</h2> <p class='note'> @@ -910,7 +932,7 @@ </p> <p> For example, the following <a href="#contactproperties-interface"><code>ContactProperties</code></a> object is supplied for Contact searching: - <pre class="example sh_javascript">navigator.contacts.find({ + <pre class="example sh_javascript">navigator.service.contacts.find({ name:'Robert', nicknames:['Bob'] },
Received on Thursday, 18 February 2010 18:10:27 UTC