13.07.2015 Views

WWW/Internet - Portal do Software Público Brasileiro

WWW/Internet - Portal do Software Público Brasileiro

WWW/Internet - Portal do Software Público Brasileiro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IADIS International Conference <strong>WWW</strong>/<strong>Internet</strong> 2010Metadata for management, retrieval and <strong>do</strong>cumentation purposes can be added to UISDL-C and UISDL-B descriptions. Both support a keyword list for keyword-based indexing in the UI Service repository andglobal <strong>do</strong>cumentation. UISDL-C descriptions additionally allow <strong>do</strong>cumentation of each constituent of theabstract interface. UISDL-B supports hyperlinks to screenshots of the UI component, e.g. for its presentationby a UI Service repository browser, a list of devices that are supported by the component implementationincluding a suitability value to simplify context-aware UI Service selection. Furthermore, basic servicepricing information and a license text can be added for commercial purposes.3.4 UISDL-classThe syntax of UISDL-C is presented by the Map abstract interface description example in listing 1. Forreasons of brevity, only one example per element is shown. The attribute class of the root element denotes thefunctional classification of the abstract interface description. Furthermore, global <strong>do</strong>cumentation (line 2),metadata (lines 3-5), XML Schema data type definitions (lines 6-17), and the interface (lines 18-30)1 2 A UI Service class for map components3 4 map, maps, geo, orientation, directions, POI5 6 7 9 ...10 11 12 13 14 15 16 17 18 19 20 The GeoCoordinates of the center of the map.21 22 ...23 24 25 26 ...27 28 29 30 31 Listing 1. UISDL-class examplespecifying the properties (lines 19-22), events (lines 23-25), and operations (lines 27-29) are defined in theUISDL-C. Properties, events, operations, and parameters are identified by unique names (name attributes).Properties and parameters are typed by XML Schema data type. When used as child elements of operation,parameter elements specify the operation's invocation and result parameters. As child elements of event, theyspecify data belonging to the event, e.g. the map center's geographic coordinate after its adjustment by theuser (centerChange event).3.5 UISDL-bindingThe syntax of UISDL-B is presented by a UI component implementation that uses the Google Map API toimplement the Map abstract interface description presented in sect. 3.4 in listing 2. The <strong>do</strong>cument iscomposed of global <strong>do</strong>cumentation (line 2), a reference to the implemented class (line 3, cp. sect. 3.4),metadata (lines 4-18): component screenshots, device classes the implementation supports, including s179

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!