- From: Richard Tibbett via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 May 2011 12:09:35 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/contacts
In directory hutz:/tmp/cvs-serv30058/contacts
Modified Files:
Overview.html
Log Message:
Update WebIDL attributes to indicate nullability (feedback from http://lists.w3.org/Archives/Public/public-device-apis/2011May/0025.html)
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/contacts/Overview.html,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -d -r1.129 -r1.130
--- Overview.html 25 May 2011 11:56:09 -0000 1.129
+++ Overview.html 25 May 2011 12:09:33 -0000 1.130
@@ -14,7 +14,7 @@
url: "http://richt.me",
company: "Opera Software ASA",
companyURL: "http://www.opera.com"}],
- publishDate: "2011-03-08",
+ publishDate: "2011-05-25",
previousPublishDate: "2010-12-09",
previousMaturity: "WD",
edDraftURI: "http://dev.w3.org/2009/dap/contacts/",
@@ -426,7 +426,7 @@
to an address book.
</p>
</dd>
- <dt>attribute DOMString displayName</dt>
+ <dt>attribute DOMString? displayName</dt>
<dd>
<p>
This attribute contains the name of this <a>Contact</a> in a form that is suitable for display
@@ -437,7 +437,7 @@
attribute.
</p>
</dd>
- <dt>attribute ContactName name</dt>
+ <dt>attribute ContactName? name</dt>
<dd>
<p>
This attribute represents the full name of this <a>Contact</a> indicated by the name components
@@ -448,7 +448,7 @@
attribute.
</p>
</dd>
- <dt>attribute DOMString nickname</dt>
+ <dt>attribute DOMString? nickname</dt>
<dd>
<p>
This attribute contains the nickname (or a casual name) for this <a>Contact</a>.
@@ -485,7 +485,7 @@
This attribute represents one or more organizations associated with this <a>Contact</a>.
</p>
</dd>
- <dt>attribute Date revision</dt>
+ <dt>attribute Date? revision</dt>
<dd>
<p>
This attribute contains the timestamp information associated with this <a>Contact</a>, which
@@ -493,7 +493,7 @@
timestamp of the object's creation time.
</p>
</dd>
- <dt>attribute Date birthday</dt>
+ <dt>attribute Date? birthday</dt>
<dd>
<p>
This attribute contains birthday of this <a>Contact</a>.
@@ -503,7 +503,7 @@
available.
</p>
</dd>
- <dt>attribute DOMString gender</dt>
+ <dt>attribute DOMString? gender</dt>
<dd>
<p>
This attribute contains the gender of this <a>Contact</a>. This attribute SHOULD have one of the
@@ -518,7 +518,7 @@
Note however that this attribute MAY contain a value not listed above.
</p>
</dd>
- <dt>attribute DOMString note</dt>
+ <dt>attribute DOMString? note</dt>
<dd>
<p>
This attribute contains the personal notes (free-text) for this <a>Contact</a> that is managed by the
@@ -559,7 +559,7 @@
"profile".
</p>
</dd>
- <dt>attribute DOMString timezone</dt>
+ <dt>attribute DOMString? timezone</dt>
<dd>
<p>
This attribute represents the time zone of this Contact.
@@ -604,32 +604,32 @@
Jr</code>).
</p>
</dd>
- <dt>attribute DOMString familyName</dt>
+ <dt>attribute DOMString? familyName</dt>
<dd>
<p>
This attribute contains the family name (also referred to as the last name) of this <a>Contact</a>.
</p>
</dd>
- <dt>attribute DOMString givenName</dt>
+ <dt>attribute DOMString? givenName</dt>
<dd>
<p>
This attribute contains the given name (also referred to as the first name) of this <a>Contact</a>.
</p>
</dd>
- <dt>attribute DOMString middleName</dt>
+ <dt>attribute DOMString? middleName</dt>
<dd>
<p>
This attribute contains the middle name of this <a>Contact</a>.
</p>
</dd>
- <dt>attribute DOMString honorificPrefix</dt>
+ <dt>attribute DOMString? honorificPrefix</dt>
<dd>
<p>
This attribute contains the honorific prefix (or title) of this <a>Contact</a>. E.g. Mr., Dr., Ms.,
Mrs.
</p>
</dd>
- <dt>attribute DOMString honorificSuffix</dt>
+ <dt>attribute DOMString? honorificSuffix</dt>
<dd>
<p>
This attribute contains the honorific suffix of this <a>Contact</a>. E.g. Jr, III, Sr.
@@ -657,7 +657,7 @@
property, the type attribute could be set to <code>xmpp</code>, <code>irc</code>, <code>bbm</code>, etc.
</p>
</dd>
- <dt>attribute DOMString value</dt>
+ <dt>attribute DOMString? value</dt>
<dd>
<p>
This attribute contains the value for this <a>ContactField</a> and its content varies subject to the
@@ -672,7 +672,7 @@
<p>
This attribute indicates whether this instance of the <a>ContactField</a> is the
preferred, or primary, value for the contact property this <a>ContactField</a> is
- representing in the <a>Contact</a> interface.
+ representing in the <a>Contact</a> interface. By default, the value is <code>false</code>.
</p>
</dd>
</dl>
@@ -689,16 +689,17 @@
<dt>attribute boolean pref</dt>
<dd>
<p>
- This attribute indicates whether this instance of the <code>ContactAddress</code> is the preferred, or primary, value for the contact.
+ This attribute indicates whether this instance of the <code>ContactAddress</code> is the preferred, or primary, value for the contact.
+ By default, the value is <code>false</code>.
</p>
</dd>
- <dt>attribute DOMString type</dt>
+ <dt>attribute DOMString? type</dt>
<dd>
<p>
This attribute contains the type of address this object is representing (e.g. <code>work</code>, <code>home</code>, <code>premises</code>, etc).
</p>
</dd>
- <dt>attribute DOMString formatted</dt>
+ <dt>attribute DOMString? formatted</dt>
<dd>
<p>
This attribute contains the full physical address including <code>street</code>, <code>locality</code>,
@@ -706,31 +707,31 @@
display.
</p>
</dd>
- <dt>attribute DOMString streetAddress</dt>
+ <dt>attribute DOMString? streetAddress</dt>
<dd>
<p>
This attribute contains the street address corresponding to this <a>ContactAddress</a>.
</p>
</dd>
- <dt>attribute DOMString locality</dt>
+ <dt>attribute DOMString? locality</dt>
<dd>
<p>
This attribute contains the locality (or city) name corresponding to this <a>ContactAddress</a>.
</p>
</dd>
- <dt>attribute DOMString region</dt>
+ <dt>attribute DOMString? region</dt>
<dd>
<p>
This attribute contains the region (or state/province) name corresponding to this <a>ContactAddress</a>.
</p>
</dd>
- <dt>attribute DOMString postalCode</dt>
+ <dt>attribute DOMString? postalCode</dt>
<dd>
<p>
This attribute contains the postal code (or zip) corresponding to this <a>ContactAddress</a>.
</p>
</dd>
- <dt>attribute DOMString country</dt>
+ <dt>attribute DOMString? country</dt>
<dd>
<p>
This attribute contains the country name corresponding to this <a>ContactAddress</a>.
@@ -751,28 +752,29 @@
<dt>attribute boolean pref</dt>
<dd>
<p>
- This attribute indicates whether this instance of the <code>ContactOrganization</code> is the preferred, or primary, value for the contact.
+ This attribute indicates whether this instance of the <code>ContactOrganization</code> is the preferred, or
+ primary, value for the contact. By default, the value is <code>false</code>.
</p>
</dd>
- <dt>attribute DOMString type</dt>
+ <dt>attribute DOMString? type</dt>
<dd>
<p>
- This attribute contains the type of organization this object is representing.
+ This attribute contains the type of organization this object is representing.
</p>
</dd>
- <dt>attribute DOMString name</dt>
+ <dt>attribute DOMString? name</dt>
<dd>
<p>
The name of the organisation.
</p>
</dd>
- <dt>attribute DOMString department</dt>
+ <dt>attribute DOMString? department</dt>
<dd>
<p>
The department within which this <a>Contact</a> works.
</p>
</dd>
- <dt>attribute DOMString title</dt>
+ <dt>attribute DOMString? title</dt>
<dd>
<p>
The job title that the <a>Contact</a> holds inside this organisation.
@@ -800,7 +802,7 @@
<a>Contacts</a> <a href="#widl-Contacts-find">find()</a> operation.
By default this option is set to <code>false</code>.
</dd>
- <dt>attribute Date updatedSince</dt>
+ <dt>attribute Date? updatedSince</dt>
<dd>
<p>
Return only contact records that have been updated on or after the given time, specified as an
Received on Wednesday, 25 May 2011 12:09:37 UTC