xref: /AOO41X/main/officecfg/registry/schema/org/openoffice/Interaction.xcs (revision ef1ef8e674fabf3a541d12c6e6c14cecdfc2f9e7)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************************
3 *
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 *
6 * Copyright 2008 by Sun Microsystems, Inc.
7 *
8 * OpenOffice.org - a multi-platform office productivity suite
9 *
10 * This file is part of OpenOffice.org.
11 *
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
15 *
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
21 *
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org.  If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
26 *
27 ************************************************************************ -->
28<!DOCTYPE oor:component-schema SYSTEM "../../../component-schema.dtd">
29<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">
30  <info>
31    <author>Frank Schönheit</author>
32    <desc>contains configuration related to the interaction system of OpenOffice.org.</desc>
33  </info>
34  <templates>
35    <group oor:name="RequestTypeResponsibility">
36      <info>
37        <desc>describes the responsibility for a single interaction request type.</desc>
38      </info>
39      <prop oor:name="Propagation" oor:type="xs:string">
40        <info>
41          <desc>describes how the responsibility for this particular request type propagates through the
42          type hierarchy.</desc>
43        </info>
44        <constraints>
45          <enumeration oor:value="named-only">
46            <info>
47              <desc>specifies that the interaction handler is responsible only for this particular type.</desc>
48            </info>
49          </enumeration>
50          <enumeration oor:value="named-and-derived">
51            <info>
52              <desc>
53                specifies that the interaction handler is responsible not only for this particular type,
54                but also for all derived types.
55              </desc>
56            </info>
57          </enumeration>
58        </constraints>
59      </prop>
60    </group>
61    <group oor:name="InteractionHandlerImplementation">
62      <info>
63        <desc>contains information about a concrete interaction handler implementation.</desc>
64      </info>
65      <set oor:name="HandledRequestTypes" oor:node-type="RequestTypeResponsibility">
66        <info>
67          <desc>specifies the types which the interaction handler implementation is responsible for. The node names
68          of this set are interpreted as names in the UNO type system, this way specifying the request types
69          which should be delegated to the given interaction handler.</desc>
70        </info>
71      </set>
72      <prop oor:name="ServiceName" oor:type="xs:string">
73        <info>
74          <desc>contains the name to be used to create an instance of the interaction handler implementation.</desc>
75        </info>
76      </prop>
77    </group>
78  </templates>
79  <component>
80    <set oor:name="InteractionHandlers" oor:node-type="InteractionHandlerImplementation">
81      <info>
82        <desc>collects information about registered interaction handlers.</desc>
83      </info>
84    </set>
85  </component>
86</oor:component-schema>
87