Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.framework / org.gvsig.andami / src / main / castor / plugin-persistence.xsd @ 45679

History | View | Annotate | Download (2.91 KB)

1 40435 jjdelcerro
<?xml version="1.0" encoding="UTF-8" ?>
2 40559 jjdelcerro
<!--
3 40435 jjdelcerro
4 40559 jjdelcerro
    gvSIG. Desktop Geographic Information System.
5
6
    Copyright (C) 2007-2013 gvSIG Association.
7
8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12
13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17
18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22
23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25
26
-->
27
28 40435 jjdelcerro
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
29
  <xs:element name="bookmark">
30
    <xs:complexType>
31
      <xs:sequence>
32
        <xs:element ref="xml-entity" />
33
      </xs:sequence>
34
      <xs:attribute name="text" type="xs:string" use="required" />
35
    </xs:complexType>
36
  </xs:element>
37
38
  <xs:element name="bookmarks">
39
    <xs:complexType>
40
      <xs:sequence>
41
        <xs:element ref="bookmark" />
42
      </xs:sequence>
43
    </xs:complexType>
44
  </xs:element>
45
46
  <xs:element name="plugin">
47
    <xs:complexType>
48
      <xs:sequence>
49
        <xs:element ref="xml-entity" />
50
        <xs:element ref="bookmarks" />
51
        <xs:element ref="windows" />
52
      </xs:sequence>
53
      <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
54
      <xs:attribute name="lastUpdate" type="xs:NMTOKEN" use="required" />
55
    </xs:complexType>
56
  </xs:element>
57
58
  <xs:element name="plugins-status">
59
    <xs:complexType>
60
      <xs:sequence>
61
        <xs:element ref="plugin" />
62
      </xs:sequence>
63
    </xs:complexType>
64
  </xs:element>
65
66
  <xs:element name="property">
67
    <xs:complexType>
68
      <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
69
      <xs:attribute name="value" type="xs:string" use="required" />
70
    </xs:complexType>
71
  </xs:element>
72
73
  <xs:element name="window">
74
    <xs:complexType>
75
      <xs:attribute name="rectangle" type="xs:string" use="required" />
76
      <xs:attribute name="id" type="xs:NMTOKEN" use="required" />
77
    </xs:complexType>
78
  </xs:element>
79
80
  <xs:element name="windows">
81
    <xs:complexType>
82
      <xs:sequence>
83
        <xs:element ref="window" maxOccurs="unbounded" />
84
      </xs:sequence>
85
    </xs:complexType>
86
  </xs:element>
87
88
  <xs:element name="xml-entity">
89
    <xs:complexType>
90
      <xs:sequence>
91
        <xs:element ref="property" maxOccurs="unbounded" />
92
      </xs:sequence>
93
    </xs:complexType>
94
  </xs:element>
95
96
</xs:schema>