| | 83 | |
| | 84 | ---- |
| | 85 | |
| | 86 | = observer.rdf = |
| | 87 | |
| | 88 | This file contain all localized information, lists of mimetypes handled by each method of the observer and information about input parameter handle by the observer. This file has an ucn:Observer element which contains : |
| | 89 | |
| | 90 | * A rdf:ID attribute as reference to the WADL file. |
| | 91 | * Zero or more ucn:name elements as the name of the observer in different language. |
| | 92 | * Zero or more ucn:description element to describe the observer in different language. |
| | 93 | * Zero or more ucn:help element, link to a help page about the observer in different language. |
| | 94 | * One or more ucn:inputMethod containing the exactly one ucn:Parameter itself containing One or more ucn:mimetype elements to define each mimetype handled by the method. |
| | 95 | |
| | 96 | {{{ |
| | 97 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
| | 98 | <!DOCTYPE owl [ |
| | 99 | <!ENTITY ucn "http://www.w3.org/unicorn"> |
| | 100 | <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns"> |
| | 101 | <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema"> |
| | 102 | |
| | 103 | ]> |
| | 104 | |
| | 105 | <rdf:RDF |
| | 106 | xmlns:rdf="&rdf;#" |
| | 107 | xmlns:rdfs="&rdfs;#" |
| | 108 | xmlns:ucn="&ucn;#" |
| | 109 | xmlns="&ucn;#" |
| | 110 | xml:base="&ucn;" |
| | 111 | > |
| | 112 | |
| | 113 | <ucn:Observer ucn:id="calculator" ucn:reference="calculator"> |
| | 114 | |
| | 115 | <ucn:name xml:lang="en">Calculator</ucn:name> |
| | 116 | <ucn:name xml:lang="fr">Calculatrice</ucn:name> |
| | 117 | <ucn:description xml:lang="en">An observer who evaluate simple arithmetic operations.</ucn:description> |
| | 118 | <ucn:description xml:lang="fr">Un observateur qui évalue des opérations arithmétiques.</ucn:description> |
| | 119 | |
| | 120 | <ucn:inputMethod> |
| | 121 | <ucn:ParameterURI ucn:methodName="CalculatorGET" ucn:parameterName="uri"> |
| | 122 | <ucn:mimetype>text/plain</ucn:mimetype> |
| | 123 | </ucn:ParameterURI> |
| | 124 | </ucn:inputMethod> |
| | 125 | |
| | 126 | </ucn:Observer> |
| | 127 | |
| | 128 | </rdf:RDF> |
| | 129 | }}} |