inital plugin from webtools project
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.monitor.core / schema / protocolAdapters.exsd
1 <?xml version='1.0' encoding='UTF-8'?>\r
2 <!-- Schema file written by PDE -->\r
3 <schema targetNamespace="net.sourceforge.phpeclipse.monitor.core">\r
4 <annotation>\r
5       <appInfo>\r
6          <meta.schema plugin="net.sourceforge.phpeclipse.monitor.core" id="protocolAdapters" name="Protocol Adapters"/>\r
7       </appInfo>\r
8       <documentation>\r
9          This extension point is used to provide an adapter for a new protocol (e.g. HTTP). This allows different types of protocols to be monitored.\r
10       </documentation>\r
11    </annotation>\r
12 \r
13    <element name="extension">\r
14       <complexType>\r
15          <sequence>\r
16             <element ref="protocolAdapter" minOccurs="0" maxOccurs="unbounded"/>\r
17          </sequence>\r
18          <attribute name="point" type="string" use="required">\r
19             <annotation>\r
20                <documentation>\r
21                   a fully qualified identifier of the target extension point\r
22                </documentation>\r
23             </annotation>\r
24          </attribute>\r
25          <attribute name="id" type="string">\r
26             <annotation>\r
27                <documentation>\r
28                   an optional identifier of the extension instance\r
29                </documentation>\r
30             </annotation>\r
31          </attribute>\r
32          <attribute name="name" type="string">\r
33             <annotation>\r
34                <documentation>\r
35                   an optional name of the extension instance\r
36                </documentation>\r
37             </annotation>\r
38          </attribute>\r
39       </complexType>\r
40    </element>\r
41 \r
42    <element name="protocolAdapter">\r
43       <annotation>\r
44          <appInfo>\r
45             <meta.element labelAttribute="name"/>\r
46          </appInfo>\r
47       </annotation>\r
48       <complexType>\r
49          <sequence>\r
50          </sequence>\r
51          <attribute name="id" type="string" use="required">\r
52             <annotation>\r
53                <documentation>\r
54                   specifies a unique identifier for this extension point\r
55                </documentation>\r
56             </annotation>\r
57          </attribute>\r
58          <attribute name="class" type="string" use="required">\r
59             <annotation>\r
60                <documentation>\r
61                   specifies the fully qualified name of the Java class that implements &lt;samp&gt;net.sourceforge.phpeclipse.monitor.core.IProtocolAdapter&lt;/samp&gt;
62 Protocol adapter instances of this type will delegate to instances of this class.\r
63                </documentation>\r
64                <appInfo>\r
65                   <meta.attribute kind="java" basedOn="net.sourceforge.phpdteclipse.monitor.core.IParser"/>\r
66                </appInfo>\r
67             </annotation>\r
68          </attribute>\r
69          <attribute name="name" type="string" use="required">\r
70             <annotation>\r
71                <documentation>\r
72                   a translatable name used to identify the protocol adapter\r
73                </documentation>\r
74             </annotation>\r
75          </attribute>\r
76       </complexType>\r
77    </element>\r
78 \r
79    <annotation>\r
80       <appInfo>\r
81          <meta.section type="examples"/>\r
82       </appInfo>\r
83       <documentation>\r
84          The following is an example of a protocol adapter extension point:
85
86 &lt;p&gt;
87 &lt;pre&gt;
88 &lt;extension point=&quot;net.sourceforge.phpeclipse.monitor.core.protocolAdapters&quot;&gt;
89   &lt;protocolAdapter
90     id=&quot;TCPIP&quot;
91     class=&quot;com.example.TCPIPProtocolAdapter&quot;
92     name=&quot;%TCPIP&quot;/&gt;
93 &lt;/extension&gt;
94 &lt;/pre&gt;
95 &lt;/p&gt;
96
97 In the example above,\r
98       </documentation>\r
99    </annotation>\r
100 \r
101    <annotation>\r
102       <appInfo>\r
103          <meta.section type="apiInfo"/>\r
104       </appInfo>\r
105       <documentation>\r
106          Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the interface &lt;b&gt;net.sourceforge.phpeclipse.monitor.core.IProtocolAdapterDelegate&lt;/b&gt;.\r
107       </documentation>\r
108    </annotation>\r
109 \r
110    <annotation>\r
111       <appInfo>\r
112          <meta.section type="copyright"/>\r
113       </appInfo>\r
114       <documentation>\r
115          Copyright (c) 2000, 2003 IBM Corporation and others.&lt;br&gt;
116 All rights reserved. This program and the accompanying materials are made 
117 available under the terms of the Common Public License v1.0 which accompanies 
118 this distribution, and is available at 
119 &lt;a href=&quot;http://www.eclipse.org/legal/cpl-v10.html&quot;&gt;http://www.eclipse.org/legal/cpl-v10.html&lt;/a&gt;\r
120       </documentation>\r
121    </annotation>\r
122 \r
123 </schema>\r