Copyright © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
This document is an editors' copy that has no official standing.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This is an Editorial Draft of a possible future W3C Recommendation.
Publication as an Editorial Draft does not imply endorsement by the Device Description Working Group or the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
This document is published as part of the W3C Mobile Web Initiative (MWI) by the Device Description Working Group. It is a deliverable as defined in the Charter of that group.
Please send comments to public-ddwg@w3.org. This list is archived at http://lists.w3.org/Archives/Public/public-ddwg/.
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
1 Introduction
1.1 Background to the need for Device Description Repositories
1.2 Development of the Simple API Specification
1.3 Scope
2 Reading the Specification
2.1 Normative and Informative Parts
2.2 Normative Language for Conformance Requirements
3 Interfaces
3.1 Evidence
3.1.1 Binding
3.1.2 Methods
3.2 SimplePropertyRef
3.2.1 Binding
3.2.2 Constants
3.2.3 Methods
3.3 SimplePropertyValue
3.3.1 Binding
3.3.2 Methods
3.4 SimplePropertyValues
3.4.1 Binding
3.4.2 Methods
3.5 SimpleService
3.5.1 Binding
3.5.2 Methods
3.6 Exceptions
3.7 Instantiation
4 Vocabularies
5 Conformance
5.1 General Conformance Requirements
5.2 Conformance Requirements (Languages where there is a Normative Binding)
5.3 Conformance Requirements (Languages where there is no Normative Binding)
A IDL Definitions for Simple API
B Java Bindings
B.1 org.w3c.ddr.simple.Evidence
B.2 org.w3c.ddr.simple.PropertyRef
B.3 org.w3c.ddr.simple.SimplePropertyValue
B.4 org.w3c.ddr.simple.SimplePropertyValues
B.5 org.w3c.ddr.simple.SimpleService
B.6 org.w3c.ddr.simple.SimpleServiceFactory
B.7 Exceptions
C WSDL Language Binding
D Binding rules for mapping APIs to any programming language
E Normative References
F Informative Use Case: To Be defined (Non-Normative)
G Informative References (Non-Normative)
H Acknowledgements (Non-Normative)
There is an indefinite number of possible properties descriptive of the Delivery Context. The simple API does not define any properties nor mandate the use of any particular set of properties. The DDWG strongly recommends that its Core Vocabulary is supported by all DDRs. Necessary characteristics of sets of properties (known as "vocabularies") supported by the DDR Simple API are document in 4 Vocabularies.
This specification provides a normative definition of the interface based on OMG IDL [IDL]. In addition, it provides a normative WSDL [WSDL] and Java [@@bibref] bindings.
Individual conformance requirements or testable statements are identified in this document by the use of specific key words. In particular, the key words must, must not, required, shall, shall not, should, should not, recommended, may, and optional in this specification are to be interpreted as described in [IETF RFC 2119] .
The name of a property together with its aspect together with their namespace. See 4 Vocabularies for a discussion of properties, aspects and namespaces.
Do we want all these data types?
Returns the PropertyRef with which this value is associated.
Returns a String indicating the revision of the underlying implementation.
Returns a String indicating the revision of the data supporting the implementation.
A factory method for creating new PropertyRefs with the specified aspect and namespace.
A factory method for creating new PropertyRefs with the specified aspect in the default namespace.
Returns an array of PropertyRefs listing @@all the properties the DDR knows about.
The DDWG has published a suggested "core" vocabulary for essential properties for Web content adaptation [Core Vocab]. It is anticipated that implementations will extend the core vocabulary by using properties defined in different name spaces.
[@@Also need to check that the Core Vocab note makes it clear that extensions require that a new namespace is defined.]
This appendix contains the complete normative OMG IDL [IDL] definitions for DDR-API
Need a new version of IDL
The code can be browsed at http://www.w3.org/2005/MWI/DDWG/drafts/api/simple/java/org/w3c/ddr/simple/
This section is normative. It describes a WSDL [WSDL] language binding for DDR-API.