1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22<!DOCTYPE oor:component-schema SYSTEM "../../../component-schema.dtd">
23<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Interaction" oor:package="org.openoffice" xml:lang="en-US">
24  <info>
25    <author>Frank Schönheit</author>
26    <desc>contains configuration related to the interaction system of OpenOffice.org.</desc>
27  </info>
28  <templates>
29    <group oor:name="RequestTypeResponsibility">
30      <info>
31        <desc>describes the responsibility for a single interaction request type.</desc>
32      </info>
33      <prop oor:name="Propagation" oor:type="xs:string">
34        <info>
35          <desc>describes how the responsibility for this particular request type propagates through the
36          type hierarchy.</desc>
37        </info>
38        <constraints>
39          <enumeration oor:value="named-only">
40            <info>
41              <desc>specifies that the interaction handler is responsible only for this particular type.</desc>
42            </info>
43          </enumeration>
44          <enumeration oor:value="named-and-derived">
45            <info>
46              <desc>
47                specifies that the interaction handler is responsible not only for this particular type,
48                but also for all derived types.
49              </desc>
50            </info>
51          </enumeration>
52        </constraints>
53      </prop>
54    </group>
55    <group oor:name="InteractionHandlerImplementation">
56      <info>
57        <desc>contains information about a concrete interaction handler implementation.</desc>
58      </info>
59      <set oor:name="HandledRequestTypes" oor:node-type="RequestTypeResponsibility">
60        <info>
61          <desc>specifies the types which the interaction handler implementation is responsible for. The node names
62          of this set are interpreted as names in the UNO type system, this way specifying the request types
63          which should be delegated to the given interaction handler.</desc>
64        </info>
65      </set>
66      <prop oor:name="ServiceName" oor:type="xs:string">
67        <info>
68          <desc>contains the name to be used to create an instance of the interaction handler implementation.</desc>
69        </info>
70      </prop>
71    </group>
72  </templates>
73  <component>
74    <set oor:name="InteractionHandlers" oor:node-type="InteractionHandlerImplementation">
75      <info>
76        <desc>collects information about registered interaction handlers.</desc>
77      </info>
78    </set>
79  </component>
80</oor:component-schema>
81