blob: 1c7057018ca8f02a9bcd664dffd0890022118c3f [file] [log] [blame]
dacarverb67daa72008-07-24 04:07:33 +00001<html>
2<body>
3<p>
4<font size="+1"><strong>Package org.eclipse.wst.xml.xpath.core</strong></font>
5</p>
6<hr>
7<h2>
8<font size="-1"><strong>org.eclipse.wst.xml.xpath.core</strong></font>
9<br>
10 Class XPathCorePlugin</h2>
11<br>
12<hr>
13<pre>public class <strong>XPathCorePlugin</strong>
14extends Plugin</pre>The activator class controls the plug-in life cycle<hr>
15<table width="100%" border="1">
16<tr cols="2" bgcolor="#CCCCFF">
17<td colspan="2" width="100%">
18<h2>Field Summary</h2>
19</td>
20</tr>
21<tr valign="top">
22<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>PLUGIN_ID</code>
23<br>
24 &nbsp;&nbsp;&nbsp;&nbsp;
25 </td>
26</tr>
27</table>
28<br>
29<table width="100%" border="1">
30<tr bgcolor="#CCCCFF">
31<td width="100%">
32<h2>Constructor Summary</h2>
33</td>
34</tr>
35<tr>
36<td><code><strong>XPathCorePlugin</strong>()</code></td>
37</tr>
38</table>
39<br>
40<table width="100%" border="1">
41<tr cols="2" bgcolor="#CCCCFF">
42<td colspan="2" width="100%">
43<h2>Method Summary</h2>
44</td>
45</tr>
46<tr valign="top">
47<td width="20%" align="right"><code>public static org.eclipse.wst.xml.xpath.core.XPathCorePlugin</code></td><td width="" align="left"><code>getDefault()</code>
48<br>
49 &nbsp;&nbsp;&nbsp;&nbsp;
50 Returns the shared instance</td>
51</tr>
52<tr valign="top">
53<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>start(BundleContext context)</code>
54<br>
55 &nbsp;&nbsp;&nbsp;&nbsp;
56 </td>
57</tr>
58<tr valign="top">
59<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>stop(BundleContext context)</code>
60<br>
61 &nbsp;&nbsp;&nbsp;&nbsp;
62 </td>
63</tr>
64</table>
65<hr>
66<table cols="2" width="100%" border="1">
67<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
68<td>
69<h2>
70 Field Detail
71 </h2>
72</td>
73</tr>
74</table>
75<h2>PLUGIN_ID</h2>
76<p>
77<code>public static java.lang.String <strong>PLUGIN_ID</strong></code>
78</p>
79<hr>
80<table cols="2" width="100%" border="1">
81<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
82<td>
83<h2>
84 Constructor Detail
85 </h2>
86</td>
87</tr>
88</table>
89<h2>XPathCorePlugin</h2>
90<p>
91<code>public <strong>XPathCorePlugin</strong>()</code>
92</p>
93<p>The constructor</p>
94<hr>
95<table cols="2" width="100%" border="1">
96<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
97<td>
98<h2>
99 Methods Detail
100 </h2>
101</td>
102</tr>
103</table>
104<h2>getDefault</h2>
105<p>
106<code>public org.eclipse.wst.xml.xpath.core.XPathCorePlugin <strong>getDefault</strong>()</code>
107</p>
108<p>Returns the shared instance</p>
109<h3>Returns</h3>
110<p>
111<code>org.eclipse.wst.xml.xpath.core.XPathCorePlugin</code> - the shared instance</p>
112<hr>
113<h2>start</h2>
114<p>
115<code>public void <strong>start</strong>(BundleContext context)</code>
116</p>
117<p></p>
118<h3>Parameters</h3>
119<p>
120<code>context</code>
121</p>
122<h3>Throws:</h3>
123<p>
124<code>java.lang.Exception</code>
125</p>
126<hr>
127<h2>stop</h2>
128<p>
129<code>public void <strong>stop</strong>(BundleContext context)</code>
130</p>
131<p></p>
132<h3>Parameters</h3>
133<p>
134<code>context</code>
135</p>
136<h3>Throws:</h3>
137<p>
138<code>java.lang.Exception</code>
139</p>
140<hr>
141<p>
142<font size="+1"><strong>Package org.eclipse.wst.xml.xpath.core.internal.parser</strong></font>
143</p>
144<hr>
145<h2>
146<font size="-1"><strong>org.eclipse.wst.xml.xpath.core.internal.parser</strong></font>
147<br>
148 Class XPathParser</h2>
149<br>
150<hr>
151<pre>public class <strong>XPathParser</strong>
152extends java.lang.Object</pre>
153<hr>
154<table width="100%" border="1">
155<tr cols="2" bgcolor="#CCCCFF">
156<td colspan="2" width="100%">
157<h2>Field Summary</h2>
158</td>
159</tr>
160<tr valign="top">
161<td width="20%" align="right"><code>protected Token</code></td><td width="80%" align="left"><code>currentToken</code>
162<br>
163 &nbsp;&nbsp;&nbsp;&nbsp;
164 </td>
165</tr>
166<tr valign="top">
167<td width="20%" align="right"><code>protected org.apache.commons.jxpath.ri.parser.XPathParser</code></td><td width="80%" align="left"><code>parser</code>
168<br>
169 &nbsp;&nbsp;&nbsp;&nbsp;
170 </td>
171</tr>
172<tr valign="top">
173<td width="20%" align="right"><code>protected Token</code></td><td width="80%" align="left"><code>previousToken</code>
174<br>
175 &nbsp;&nbsp;&nbsp;&nbsp;
176 </td>
177</tr>
178</table>
179<br>
180<table width="100%" border="1">
181<tr bgcolor="#CCCCFF">
182<td width="100%">
183<h2>Constructor Summary</h2>
184</td>
185</tr>
186<tr>
187<td><code><strong>XPathParser</strong>(java.lang.String xpath)</code></td>
188</tr>
189</table>
190<br>
191<table width="100%" border="1">
192<tr cols="2" bgcolor="#CCCCFF">
193<td colspan="2" width="100%">
194<h2>Method Summary</h2>
195</td>
196</tr>
197<tr valign="top">
198<td width="20%" align="right"><code>public Token</code></td><td width="" align="left"><code>getCurrentToken()</code>
199<br>
200 &nbsp;&nbsp;&nbsp;&nbsp;
201 </td>
202</tr>
203<tr valign="top">
204<td width="20%" align="right"><code>public Token</code></td><td width="" align="left"><code>getPreviousToken()</code>
205<br>
206 &nbsp;&nbsp;&nbsp;&nbsp;
207 </td>
208</tr>
209<tr valign="top">
210<td width="20%" align="right"><code>public int</code></td><td width="" align="left"><code>getTokenStartOffset(int offsetLine
211 ,
212 int offsetColumn)</code>
213<br>
214 &nbsp;&nbsp;&nbsp;&nbsp;
215 Given a line number and a column number, return the starting
216 offset of the last known token.</td>
217</tr>
218<tr valign="top">
219<td width="20%" align="right"><code>protected boolean</code></td><td width="" align="left"><code>locatedColumn(Token token
220 ,
221 int offsetColumn)</code>
222<br>
223 &nbsp;&nbsp;&nbsp;&nbsp;
224 Checks to see if the token is in the range of the column offset</td>
225</tr>
226<tr valign="top">
227<td width="20%" align="right"><code>protected boolean</code></td><td width="" align="left"><code>locatedLine(Token token
228 ,
229 int offsetLine)</code>
230<br>
231 &nbsp;&nbsp;&nbsp;&nbsp;
232 Checks to see if the token is in the range of the line offset</td>
233</tr>
234</table>
235<hr>
236<table cols="2" width="100%" border="1">
237<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
238<td>
239<h2>
240 Field Detail
241 </h2>
242</td>
243</tr>
244</table>
245<h2>currentToken</h2>
246<p>
247<code>protected Token <strong>currentToken</strong></code>
248</p>
249<hr>
250<h2>parser</h2>
251<p>
252<code>protected org.apache.commons.jxpath.ri.parser.XPathParser <strong>parser</strong></code>
253</p>
254<hr>
255<h2>previousToken</h2>
256<p>
257<code>protected Token <strong>previousToken</strong></code>
258</p>
259<hr>
260<table cols="2" width="100%" border="1">
261<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
262<td>
263<h2>
264 Constructor Detail
265 </h2>
266</td>
267</tr>
268</table>
269<h2>XPathParser</h2>
270<p>
271<code>public <strong>XPathParser</strong>(java.lang.String xpath)</code>
272</p>
273<p></p>
274<hr>
275<table cols="2" width="100%" border="1">
276<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
277<td>
278<h2>
279 Methods Detail
280 </h2>
281</td>
282</tr>
283</table>
284<h2>getCurrentToken</h2>
285<p>
286<code>public Token <strong>getCurrentToken</strong>()</code>
287</p>
288<p></p>
289<h3>Returns</h3>
290<p>
291<code>Token</code>
292</p>
293<hr>
294<h2>getPreviousToken</h2>
295<p>
296<code>public Token <strong>getPreviousToken</strong>()</code>
297</p>
298<p></p>
299<h3>Returns</h3>
300<p>
301<code>Token</code>
302</p>
303<hr>
304<h2>getTokenStartOffset</h2>
305<p>
306<code>public int <strong>getTokenStartOffset</strong>(int offsetLine
307 ,
308 int offsetColumn)</code>
309</p>
310<p>Given a line number and a column number, return the starting
311 offset of the last known token.</p>
312<h3>Parameters</h3>
313<p>
314<code>offsetLine</code>
315</p>
316<p>
317<code>offsetColumn</code>
318</p>
319<h3>Returns</h3>
320<p>
321<code>int</code>
322</p>
323<hr>
324<h2>locatedColumn</h2>
325<p>
326<code>protected boolean <strong>locatedColumn</strong>(Token token
327 ,
328 int offsetColumn)</code>
329</p>
330<p>Checks to see if the token is in the range of the column offset</p>
331<h3>Parameters</h3>
332<p>
333<code>token</code>
334</p>
335<p>
336<code>offsetColumn</code>
337</p>
338<h3>Returns</h3>
339<p>
340<code>boolean</code> - true if found, false otherwise</p>
341<hr>
342<h2>locatedLine</h2>
343<p>
344<code>protected boolean <strong>locatedLine</strong>(Token token
345 ,
346 int offsetLine)</code>
347</p>
348<p>Checks to see if the token is in the range of the line offset</p>
349<h3>Parameters</h3>
350<p>
351<code>token</code> - An XPath Token.</p>
352<p>
353<code>offsetLine</code> - Line number offset of a region.</p>
354<h3>Returns</h3>
355<p>
356<code>boolean</code> - true if found, false otherwise.</p>
357<hr>
358<p>
359<font size="+1"><strong>Package org.eclipse.wst.xml.xpath.core.util</strong></font>
360</p>
361<hr>
362<h2>
363<font size="-1"><strong>org.eclipse.wst.xml.xpath.core.util</strong></font>
364<br>
365 Class XSLTXPathHelper</h2>
366<br>
367<hr>
368<pre>public class <strong>XSLTXPathHelper</strong>
369extends java.lang.Object</pre>
370<hr>
371<table width="100%" border="1">
372<tr bgcolor="#CCCCFF">
373<td width="100%">
374<h2>Constructor Summary</h2>
375</td>
376</tr>
377<tr>
378<td><code><strong>XSLTXPathHelper</strong>()</code></td>
379</tr>
380</table>
381<br>
382<table width="100%" border="1">
383<tr cols="2" bgcolor="#CCCCFF">
384<td colspan="2" width="100%">
385<h2>Method Summary</h2>
386</td>
387</tr>
388<tr valign="top">
389<td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code>compile(java.lang.String expression)</code>
390<br>
391 &nbsp;&nbsp;&nbsp;&nbsp;
392 </td>
393</tr>
394<tr valign="top">
395<td width="20%" align="right"><code>public static org.apache.xpath.objects.XObject</code></td><td width="" align="left"><code>eval(org.w3c.dom.Node contextNode
396 ,
397 java.lang.String str)</code>
398<br>
399 &nbsp;&nbsp;&nbsp;&nbsp;
400 Evaluate XPath string to an XObject. Using this method, XPath namespace
401 prefixes will be resolved from the namespaceNode.</td>
402</tr>
403<tr valign="top">
404<td width="20%" align="right"><code>public static org.apache.xpath.objects.XObject</code></td><td width="" align="left"><code>eval(org.w3c.dom.Node contextNode
405 ,
406 java.lang.String str
407 ,
408 org.w3c.dom.Node namespaceNode)</code>
409<br>
410 &nbsp;&nbsp;&nbsp;&nbsp;
411 Evaluate XPath string to an XObject. XPath namespace prefixes are
412 resolved from the namespaceNode. The implementation of this is a little
413 slow, since it creates a number of objects each time it is called. This
414 could be optimized to keep the same objects around, but then
415 thread-safety issues would arise.</td>
416</tr>
417<tr valign="top">
418<td width="20%" align="right"><code>public static org.apache.xpath.objects.XObject</code></td><td width="" align="left"><code>eval(org.w3c.dom.Node contextNode
419 ,
420 java.lang.String str
421 ,
422 org.apache.xml.utils.PrefixResolver prefixResolver)</code>
423<br>
424 &nbsp;&nbsp;&nbsp;&nbsp;
425 Evaluate XPath string to an XObject. XPath namespace prefixes are
426 resolved from the namespaceNode. The implementation of this is a little
427 slow, since it creates a number of objects each time it is called. This
428 could be optimized to keep the same objects around, but then
429 thread-safety issues would arise.</td>
430</tr>
431<tr valign="top">
432<td width="20%" align="right"><code>protected static org.apache.xpath.compiler.FunctionTable</code></td><td width="" align="left"><code>getFunctionTable()</code>
433<br>
434 &nbsp;&nbsp;&nbsp;&nbsp;
435 </td>
436</tr>
437<tr valign="top">
438<td width="20%" align="right"><code>public static org.w3c.dom.traversal.NodeIterator</code></td><td width="" align="left"><code>selectNodeIterator(org.w3c.dom.Node contextNode
439 ,
440 java.lang.String str)</code>
441<br>
442 &nbsp;&nbsp;&nbsp;&nbsp;
443 Use an XPath string to select a nodelist. XPath namespace prefixes are
444 resolved from the contextNode.</td>
445</tr>
446<tr valign="top">
447<td width="20%" align="right"><code>public static org.w3c.dom.traversal.NodeIterator</code></td><td width="" align="left"><code>selectNodeIterator(org.w3c.dom.Node contextNode
448 ,
449 java.lang.String str
450 ,
451 org.w3c.dom.Node namespaceNode)</code>
452<br>
453 &nbsp;&nbsp;&nbsp;&nbsp;
454 Use an XPath string to select a nodelist. XPath namespace prefixes are
455 resolved from the namespaceNode.</td>
456</tr>
457<tr valign="top">
458<td width="20%" align="right"><code>public static org.w3c.dom.NodeList</code></td><td width="" align="left"><code>selectNodeList(org.w3c.dom.Node contextNode
459 ,
460 java.lang.String str)</code>
461<br>
462 &nbsp;&nbsp;&nbsp;&nbsp;
463 Use an XPath string to select a nodelist. XPath namespace prefixes are
464 resolved from the contextNode.</td>
465</tr>
466<tr valign="top">
467<td width="20%" align="right"><code>public static org.w3c.dom.NodeList</code></td><td width="" align="left"><code>selectNodeList(org.w3c.dom.Node contextNode
468 ,
469 java.lang.String str
470 ,
471 org.w3c.dom.Node namespaceNode)</code>
472<br>
473 &nbsp;&nbsp;&nbsp;&nbsp;
474 Use an XPath string to select a nodelist. XPath namespace prefixes are
475 resolved from the namespaceNode.</td>
476</tr>
477<tr valign="top">
478<td width="20%" align="right"><code>public static org.w3c.dom.Node</code></td><td width="" align="left"><code>selectSingleNode(org.w3c.dom.Node contextNode
479 ,
480 java.lang.String str)</code>
481<br>
482 &nbsp;&nbsp;&nbsp;&nbsp;
483 Use an XPath string to select a single node. XPath namespace prefixes are
484 resolved from the context node, which may not be what you want (see the
485 next method).</td>
486</tr>
487<tr valign="top">
488<td width="20%" align="right"><code>public static org.w3c.dom.Node</code></td><td width="" align="left"><code>selectSingleNode(org.w3c.dom.Node contextNode
489 ,
490 java.lang.String str
491 ,
492 org.w3c.dom.Node namespaceNode)</code>
493<br>
494 &nbsp;&nbsp;&nbsp;&nbsp;
495 Use an XPath string to select a single node. XPath namespace prefixes are
496 resolved from the namespaceNode.</td>
497</tr>
498</table>
499<hr>
500<table cols="2" width="100%" border="1">
501<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
502<td>
503<h2>
504 Constructor Detail
505 </h2>
506</td>
507</tr>
508</table>
509<h2>XSLTXPathHelper</h2>
510<p>
511<code>public <strong>XSLTXPathHelper</strong>()</code>
512</p>
513<p></p>
514<hr>
515<table cols="2" width="100%" border="1">
516<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
517<td>
518<h2>
519 Methods Detail
520 </h2>
521</td>
522</tr>
523</table>
524<h2>compile</h2>
525<p>
526<code>public void <strong>compile</strong>(java.lang.String expression)</code>
527</p>
528<p></p>
529<h3>Parameters</h3>
530<p>
531<code>expression</code>
532</p>
533<h3>Throws:</h3>
534<p>
535<code>javax.xml.xpath.XPathExpressionException</code>
536</p>
537<hr>
538<h2>eval</h2>
539<p>
540<code>public org.apache.xpath.objects.XObject <strong>eval</strong>(org.w3c.dom.Node contextNode
541 ,
542 java.lang.String str)</code>
543</p>
544<p>Evaluate XPath string to an XObject. Using this method, XPath namespace
545 prefixes will be resolved from the namespaceNode.</p>
546<h3>Parameters</h3>
547<p>
548<code>contextNode</code> - The node to start searching from.</p>
549<p>
550<code>str</code> - A valid XPath string.</p>
551<h3>Returns</h3>
552<p>
553<code>org.apache.xpath.objects.XObject</code> - An XObject, which can be used to obtain a string, number, nodelist, etc, should never be null.</p>
554<h3>Throws:</h3>
555<p>
556<code>javax.xml.transform.TransformerException</code>
557</p>
558<hr>
559<h2>eval</h2>
560<p>
561<code>public org.apache.xpath.objects.XObject <strong>eval</strong>(org.w3c.dom.Node contextNode
562 ,
563 java.lang.String str
564 ,
565 org.w3c.dom.Node namespaceNode)</code>
566</p>
567<p>Evaluate XPath string to an XObject. XPath namespace prefixes are
568 resolved from the namespaceNode. The implementation of this is a little
569 slow, since it creates a number of objects each time it is called. This
570 could be optimized to keep the same objects around, but then
571 thread-safety issues would arise.</p>
572<h3>Parameters</h3>
573<p>
574<code>contextNode</code> - The node to start searching from.</p>
575<p>
576<code>str</code> - A valid XPath string.</p>
577<p>
578<code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p>
579<h3>Returns</h3>
580<p>
581<code>org.apache.xpath.objects.XObject</code> - An XObject, which can be used to obtain a string, number, nodelist, etc, should never be null.</p>
582<h3>Throws:</h3>
583<p>
584<code>javax.xml.transform.TransformerException</code>
585</p>
586<hr>
587<h2>eval</h2>
588<p>
589<code>public org.apache.xpath.objects.XObject <strong>eval</strong>(org.w3c.dom.Node contextNode
590 ,
591 java.lang.String str
592 ,
593 org.apache.xml.utils.PrefixResolver prefixResolver)</code>
594</p>
595<p>Evaluate XPath string to an XObject. XPath namespace prefixes are
596 resolved from the namespaceNode. The implementation of this is a little
597 slow, since it creates a number of objects each time it is called. This
598 could be optimized to keep the same objects around, but then
599 thread-safety issues would arise.</p>
600<h3>Parameters</h3>
601<p>
602<code>contextNode</code> - The node to start searching from.</p>
603<p>
604<code>str</code> - A valid XPath string.</p>
605<p>
606<code>prefixResolver</code> - Will be called if the parser encounters namespace prefixes, to resolve the prefixes to URLs.</p>
607<h3>Returns</h3>
608<p>
609<code>org.apache.xpath.objects.XObject</code> - An XObject, which can be used to obtain a string, number, nodelist, etc, should never be null.</p>
610<h3>Throws:</h3>
611<p>
612<code>javax.xml.transform.TransformerException</code>
613</p>
614<hr>
615<h2>getFunctionTable</h2>
616<p>
617<code>protected org.apache.xpath.compiler.FunctionTable <strong>getFunctionTable</strong>()</code>
618</p>
619<p></p>
620<h3>Returns</h3>
621<p>
622<code>org.apache.xpath.compiler.FunctionTable</code>
623</p>
624<hr>
625<h2>selectNodeIterator</h2>
626<p>
627<code>public org.w3c.dom.traversal.NodeIterator <strong>selectNodeIterator</strong>(org.w3c.dom.Node contextNode
628 ,
629 java.lang.String str)</code>
630</p>
631<p>Use an XPath string to select a nodelist. XPath namespace prefixes are
632 resolved from the contextNode.</p>
633<h3>Parameters</h3>
634<p>
635<code>contextNode</code> - The node to start searching from.</p>
636<p>
637<code>str</code> - A valid XPath string.</p>
638<h3>Returns</h3>
639<p>
640<code>org.w3c.dom.traversal.NodeIterator</code> - A NodeIterator, should never be null.</p>
641<h3>Throws:</h3>
642<p>
643<code>javax.xml.transform.TransformerException</code>
644</p>
645<hr>
646<h2>selectNodeIterator</h2>
647<p>
648<code>public org.w3c.dom.traversal.NodeIterator <strong>selectNodeIterator</strong>(org.w3c.dom.Node contextNode
649 ,
650 java.lang.String str
651 ,
652 org.w3c.dom.Node namespaceNode)</code>
653</p>
654<p>Use an XPath string to select a nodelist. XPath namespace prefixes are
655 resolved from the namespaceNode.</p>
656<h3>Parameters</h3>
657<p>
658<code>contextNode</code> - The node to start searching from.</p>
659<p>
660<code>str</code> - A valid XPath string.</p>
661<p>
662<code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p>
663<h3>Returns</h3>
664<p>
665<code>org.w3c.dom.traversal.NodeIterator</code> - A NodeIterator, should never be null.</p>
666<h3>Throws:</h3>
667<p>
668<code>javax.xml.transform.TransformerException</code>
669</p>
670<hr>
671<h2>selectNodeList</h2>
672<p>
673<code>public org.w3c.dom.NodeList <strong>selectNodeList</strong>(org.w3c.dom.Node contextNode
674 ,
675 java.lang.String str)</code>
676</p>
677<p>Use an XPath string to select a nodelist. XPath namespace prefixes are
678 resolved from the contextNode.</p>
679<h3>Parameters</h3>
680<p>
681<code>contextNode</code> - The node to start searching from.</p>
682<p>
683<code>str</code> - A valid XPath string.</p>
684<h3>Returns</h3>
685<p>
686<code>org.w3c.dom.NodeList</code> - A NodeIterator, should never be null.</p>
687<h3>Throws:</h3>
688<p>
689<code>javax.xml.transform.TransformerException</code>
690</p>
691<hr>
692<h2>selectNodeList</h2>
693<p>
694<code>public org.w3c.dom.NodeList <strong>selectNodeList</strong>(org.w3c.dom.Node contextNode
695 ,
696 java.lang.String str
697 ,
698 org.w3c.dom.Node namespaceNode)</code>
699</p>
700<p>Use an XPath string to select a nodelist. XPath namespace prefixes are
701 resolved from the namespaceNode.</p>
702<h3>Parameters</h3>
703<p>
704<code>contextNode</code> - The node to start searching from.</p>
705<p>
706<code>str</code> - A valid XPath string.</p>
707<p>
708<code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p>
709<h3>Returns</h3>
710<p>
711<code>org.w3c.dom.NodeList</code> - A NodeIterator, should never be null.</p>
712<h3>Throws:</h3>
713<p>
714<code>javax.xml.transform.TransformerException</code>
715</p>
716<hr>
717<h2>selectSingleNode</h2>
718<p>
719<code>public org.w3c.dom.Node <strong>selectSingleNode</strong>(org.w3c.dom.Node contextNode
720 ,
721 java.lang.String str)</code>
722</p>
723<p>Use an XPath string to select a single node. XPath namespace prefixes are
724 resolved from the context node, which may not be what you want (see the
725 next method).</p>
726<h3>Parameters</h3>
727<p>
728<code>contextNode</code> - The node to start searching from.</p>
729<p>
730<code>str</code> - A valid XPath string.</p>
731<h3>Returns</h3>
732<p>
733<code>org.w3c.dom.Node</code> - The first node found that matches the XPath, or null.</p>
734<h3>Throws:</h3>
735<p>
736<code>javax.xml.transform.TransformerException</code>
737</p>
738<hr>
739<h2>selectSingleNode</h2>
740<p>
741<code>public org.w3c.dom.Node <strong>selectSingleNode</strong>(org.w3c.dom.Node contextNode
742 ,
743 java.lang.String str
744 ,
745 org.w3c.dom.Node namespaceNode)</code>
746</p>
747<p>Use an XPath string to select a single node. XPath namespace prefixes are
748 resolved from the namespaceNode.</p>
749<h3>Parameters</h3>
750<p>
751<code>contextNode</code> - The node to start searching from.</p>
752<p>
753<code>str</code> - A valid XPath string.</p>
754<p>
755<code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p>
756<h3>Returns</h3>
757<p>
758<code>org.w3c.dom.Node</code> - The first node found that matches the XPath, or null.</p>
759<h3>Throws:</h3>
760<p>
761<code>javax.xml.transform.TransformerException</code>
762</p>
763<hr>
764<p>
765<font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui</strong></font>
766</p>
767<hr>
768<h2>
769<font size="-1"><strong>org.eclipse.wst.xml.xpath.ui</strong></font>
770<br>
771 Class XPathUIMessages</h2>
772<br>
773<hr>
774<pre>public class <strong>XPathUIMessages</strong>
775extends NLS</pre>Strings used by XPath UI<hr>
776<table width="100%" border="1">
777<tr cols="2" bgcolor="#CCCCFF">
778<td colspan="2" width="100%">
779<h2>Field Summary</h2>
780</td>
781</tr>
782<tr valign="top">
783<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Context</code>
784<br>
785 &nbsp;&nbsp;&nbsp;&nbsp;
786 </td>
787</tr>
788<tr valign="top">
789<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Document</code>
790<br>
791 &nbsp;&nbsp;&nbsp;&nbsp;
792 </td>
793</tr>
794<tr valign="top">
795<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_DOM_Tree</code>
796<br>
797 &nbsp;&nbsp;&nbsp;&nbsp;
798 </td>
799</tr>
800<tr valign="top">
801<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Expression</code>
802<br>
803 &nbsp;&nbsp;&nbsp;&nbsp;
804 </td>
805</tr>
806<tr valign="top">
807<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Namespace_Prefixes</code>
808<br>
809 &nbsp;&nbsp;&nbsp;&nbsp;
810 </td>
811</tr>
812<tr valign="top">
813<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Namespaces</code>
814<br>
815 &nbsp;&nbsp;&nbsp;&nbsp;
816 </td>
817</tr>
818<tr valign="top">
819<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Namespaces_Tip</code>
820<br>
821 &nbsp;&nbsp;&nbsp;&nbsp;
822 </td>
823</tr>
824<tr valign="top">
825<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Node_could_not_be_selected</code>
826<br>
827 &nbsp;&nbsp;&nbsp;&nbsp;
828 </td>
829</tr>
830<tr valign="top">
831<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Nothing_selected</code>
832<br>
833 &nbsp;&nbsp;&nbsp;&nbsp;
834 </td>
835</tr>
836<tr valign="top">
837<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Refresh_Source_Docs</code>
838<br>
839 &nbsp;&nbsp;&nbsp;&nbsp;
840 </td>
841</tr>
842<tr valign="top">
843<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Refresh_Source_Docs_Tip</code>
844<br>
845 &nbsp;&nbsp;&nbsp;&nbsp;
846 </td>
847</tr>
848<tr valign="top">
849<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Run_on_selected</code>
850<br>
851 &nbsp;&nbsp;&nbsp;&nbsp;
852 </td>
853</tr>
854<tr valign="top">
855<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Run_XPath_Query</code>
856<br>
857 &nbsp;&nbsp;&nbsp;&nbsp;
858 </td>
859</tr>
860<tr valign="top">
861<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Select_source_first</code>
862<br>
863 &nbsp;&nbsp;&nbsp;&nbsp;
864 </td>
865</tr>
866<tr valign="top">
867<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Selection</code>
868<br>
869 &nbsp;&nbsp;&nbsp;&nbsp;
870 </td>
871</tr>
872<tr valign="top">
873<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Show_In_Source</code>
874<br>
875 &nbsp;&nbsp;&nbsp;&nbsp;
876 </td>
877</tr>
878<tr valign="top">
879<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Show_In_Source_Tip</code>
880<br>
881 &nbsp;&nbsp;&nbsp;&nbsp;
882 </td>
883</tr>
884<tr valign="top">
885<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Text</code>
886<br>
887 &nbsp;&nbsp;&nbsp;&nbsp;
888 </td>
889</tr>
890<tr valign="top">
891<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XML_Source_Document</code>
892<br>
893 &nbsp;&nbsp;&nbsp;&nbsp;
894 </td>
895</tr>
896<tr valign="top">
897<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XPath_Eval_Failed</code>
898<br>
899 &nbsp;&nbsp;&nbsp;&nbsp;
900 </td>
901</tr>
902<tr valign="top">
903<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XPath_Navigator</code>
904<br>
905 &nbsp;&nbsp;&nbsp;&nbsp;
906 </td>
907</tr>
908<tr valign="top">
909<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XPath_Show_In_Source_Failed</code>
910<br>
911 &nbsp;&nbsp;&nbsp;&nbsp;
912 </td>
913</tr>
914</table>
915<br>
916<table width="100%" border="1">
917<tr cols="2" bgcolor="#CCCCFF">
918<td colspan="2" width="100%">
919<h2>Method Summary</h2>
920</td>
921</tr>
922<tr valign="top">
923<td width="20%" align="right"><code>public static java.util.ResourceBundle</code></td><td width="" align="left"><code>getResourceBundle()</code>
924<br>
925 &nbsp;&nbsp;&nbsp;&nbsp;
926 </td>
927</tr>
928</table>
929<hr>
930<table cols="2" width="100%" border="1">
931<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
932<td>
933<h2>
934 Field Detail
935 </h2>
936</td>
937</tr>
938</table>
939<h2>XPathNavigator_Context</h2>
940<p>
941<code>public static java.lang.String <strong>XPathNavigator_Context</strong></code>
942</p>
943<hr>
944<h2>XPathNavigator_Document</h2>
945<p>
946<code>public static java.lang.String <strong>XPathNavigator_Document</strong></code>
947</p>
948<hr>
949<h2>XPathNavigator_DOM_Tree</h2>
950<p>
951<code>public static java.lang.String <strong>XPathNavigator_DOM_Tree</strong></code>
952</p>
953<hr>
954<h2>XPathNavigator_Expression</h2>
955<p>
956<code>public static java.lang.String <strong>XPathNavigator_Expression</strong></code>
957</p>
958<hr>
959<h2>XPathNavigator_Namespace_Prefixes</h2>
960<p>
961<code>public static java.lang.String <strong>XPathNavigator_Namespace_Prefixes</strong></code>
962</p>
963<hr>
964<h2>XPathNavigator_Namespaces</h2>
965<p>
966<code>public static java.lang.String <strong>XPathNavigator_Namespaces</strong></code>
967</p>
968<hr>
969<h2>XPathNavigator_Namespaces_Tip</h2>
970<p>
971<code>public static java.lang.String <strong>XPathNavigator_Namespaces_Tip</strong></code>
972</p>
973<hr>
974<h2>XPathNavigator_Node_could_not_be_selected</h2>
975<p>
976<code>public static java.lang.String <strong>XPathNavigator_Node_could_not_be_selected</strong></code>
977</p>
978<hr>
979<h2>XPathNavigator_Nothing_selected</h2>
980<p>
981<code>public static java.lang.String <strong>XPathNavigator_Nothing_selected</strong></code>
982</p>
983<hr>
984<h2>XPathNavigator_Refresh_Source_Docs</h2>
985<p>
986<code>public static java.lang.String <strong>XPathNavigator_Refresh_Source_Docs</strong></code>
987</p>
988<hr>
989<h2>XPathNavigator_Refresh_Source_Docs_Tip</h2>
990<p>
991<code>public static java.lang.String <strong>XPathNavigator_Refresh_Source_Docs_Tip</strong></code>
992</p>
993<hr>
994<h2>XPathNavigator_Run_on_selected</h2>
995<p>
996<code>public static java.lang.String <strong>XPathNavigator_Run_on_selected</strong></code>
997</p>
998<hr>
999<h2>XPathNavigator_Run_XPath_Query</h2>
1000<p>
1001<code>public static java.lang.String <strong>XPathNavigator_Run_XPath_Query</strong></code>
1002</p>
1003<hr>
1004<h2>XPathNavigator_Select_source_first</h2>
1005<p>
1006<code>public static java.lang.String <strong>XPathNavigator_Select_source_first</strong></code>
1007</p>
1008<hr>
1009<h2>XPathNavigator_Selection</h2>
1010<p>
1011<code>public static java.lang.String <strong>XPathNavigator_Selection</strong></code>
1012</p>
1013<hr>
1014<h2>XPathNavigator_Show_In_Source</h2>
1015<p>
1016<code>public static java.lang.String <strong>XPathNavigator_Show_In_Source</strong></code>
1017</p>
1018<hr>
1019<h2>XPathNavigator_Show_In_Source_Tip</h2>
1020<p>
1021<code>public static java.lang.String <strong>XPathNavigator_Show_In_Source_Tip</strong></code>
1022</p>
1023<hr>
1024<h2>XPathNavigator_Text</h2>
1025<p>
1026<code>public static java.lang.String <strong>XPathNavigator_Text</strong></code>
1027</p>
1028<hr>
1029<h2>XPathNavigator_XML_Source_Document</h2>
1030<p>
1031<code>public static java.lang.String <strong>XPathNavigator_XML_Source_Document</strong></code>
1032</p>
1033<hr>
1034<h2>XPathNavigator_XPath_Eval_Failed</h2>
1035<p>
1036<code>public static java.lang.String <strong>XPathNavigator_XPath_Eval_Failed</strong></code>
1037</p>
1038<hr>
1039<h2>XPathNavigator_XPath_Navigator</h2>
1040<p>
1041<code>public static java.lang.String <strong>XPathNavigator_XPath_Navigator</strong></code>
1042</p>
1043<hr>
1044<h2>XPathNavigator_XPath_Show_In_Source_Failed</h2>
1045<p>
1046<code>public static java.lang.String <strong>XPathNavigator_XPath_Show_In_Source_Failed</strong></code>
1047</p>
1048<hr>
1049<table cols="2" width="100%" border="1">
1050<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
1051<td>
1052<h2>
1053 Methods Detail
1054 </h2>
1055</td>
1056</tr>
1057</table>
1058<h2>getResourceBundle</h2>
1059<p>
1060<code>public java.util.ResourceBundle <strong>getResourceBundle</strong>()</code>
1061</p>
1062<p></p>
1063<h3>Returns</h3>
1064<p>
1065<code>java.util.ResourceBundle</code>
1066</p>
1067<hr>
1068<p>
1069<font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui</strong></font>
1070</p>
1071<hr>
1072<h2>
1073<font size="-1"><strong>org.eclipse.wst.xml.xpath.ui</strong></font>
1074<br>
1075 Class XPathViewPlugin</h2>
1076<br>
1077<hr>
1078<pre>public class <strong>XPathViewPlugin</strong>
1079extends AbstractUIPlugin</pre>
1080<hr>
1081<table width="100%" border="1">
1082<tr bgcolor="#CCCCFF">
1083<td width="100%">
1084<h2>Constructor Summary</h2>
1085</td>
1086</tr>
1087<tr>
1088<td><code><strong>XPathViewPlugin</strong>()</code></td>
1089</tr>
1090</table>
1091<br>
1092<table width="100%" border="1">
1093<tr cols="2" bgcolor="#CCCCFF">
1094<td colspan="2" width="100%">
1095<h2>Method Summary</h2>
1096</td>
1097</tr>
1098<tr valign="top">
1099<td width="20%" align="right"><code>public static org.eclipse.wst.xml.xpath.ui.XPathViewPlugin</code></td><td width="" align="left"><code>getDefault()</code>
1100<br>
1101 &nbsp;&nbsp;&nbsp;&nbsp;
1102 Returns the shared instance.</td>
1103</tr>
1104<tr valign="top">
1105<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="" align="left"><code>getPluginId()</code>
1106<br>
1107 &nbsp;&nbsp;&nbsp;&nbsp;
1108 </td>
1109</tr>
1110<tr valign="top">
1111<td width="20%" align="right"><code>public java.util.ResourceBundle</code></td><td width="" align="left"><code>getResourceBundle()</code>
1112<br>
1113 &nbsp;&nbsp;&nbsp;&nbsp;
1114 Returns the plugin's resource bundle</td>
1115</tr>
1116<tr valign="top">
1117<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="" align="left"><code>getResourceString(java.lang.String key)</code>
1118<br>
1119 &nbsp;&nbsp;&nbsp;&nbsp;
1120 Returns the string from the plugin's resource bundle,
1121 or 'key' if not found.</td>
1122</tr>
1123<tr valign="top">
1124<td width="20%" align="right"><code>public ContextTypeRegistry</code></td><td width="" align="left"><code>getXPathTemplateContextRegistry()</code>
1125<br>
1126 &nbsp;&nbsp;&nbsp;&nbsp;
1127 Returns the template context type registry for xpath</td>
1128</tr>
1129<tr valign="top">
1130<td width="20%" align="right"><code>public TemplateStore</code></td><td width="" align="left"><code>getXPathTemplateStore()</code>
1131<br>
1132 &nbsp;&nbsp;&nbsp;&nbsp;
1133 Returns the template store for the xpath templates.</td>
1134</tr>
1135<tr valign="top">
1136<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>info(java.lang.String message)</code>
1137<br>
1138 &nbsp;&nbsp;&nbsp;&nbsp;
1139 </td>
1140</tr>
1141<tr valign="top">
1142<td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code>initializeImageRegistry(ImageRegistry reg)</code>
1143<br>
1144 &nbsp;&nbsp;&nbsp;&nbsp;
1145 </td>
1146</tr>
1147<tr valign="top">
1148<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>log(java.lang.String message
1149 ,
1150 java.lang.Throwable ex)</code>
1151<br>
1152 &nbsp;&nbsp;&nbsp;&nbsp;
1153 </td>
1154</tr>
1155<tr valign="top">
1156<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>log(java.lang.Throwable ex)</code>
1157<br>
1158 &nbsp;&nbsp;&nbsp;&nbsp;
1159 </td>
1160</tr>
1161<tr valign="top">
1162<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partActivated(IWorkbenchPartReference partRef)</code>
1163<br>
1164 &nbsp;&nbsp;&nbsp;&nbsp;
1165 </td>
1166</tr>
1167<tr valign="top">
1168<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partBroughtToTop(IWorkbenchPartReference partRef)</code>
1169<br>
1170 &nbsp;&nbsp;&nbsp;&nbsp;
1171 </td>
1172</tr>
1173<tr valign="top">
1174<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partClosed(IWorkbenchPartReference partRef)</code>
1175<br>
1176 &nbsp;&nbsp;&nbsp;&nbsp;
1177 </td>
1178</tr>
1179<tr valign="top">
1180<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partDeactivated(IWorkbenchPartReference partRef)</code>
1181<br>
1182 &nbsp;&nbsp;&nbsp;&nbsp;
1183 </td>
1184</tr>
1185<tr valign="top">
1186<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partHidden(IWorkbenchPartReference partRef)</code>
1187<br>
1188 &nbsp;&nbsp;&nbsp;&nbsp;
1189 </td>
1190</tr>
1191<tr valign="top">
1192<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partInputChanged(IWorkbenchPartReference partRef)</code>
1193<br>
1194 &nbsp;&nbsp;&nbsp;&nbsp;
1195 </td>
1196</tr>
1197<tr valign="top">
1198<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partOpened(IWorkbenchPartReference partRef)</code>
1199<br>
1200 &nbsp;&nbsp;&nbsp;&nbsp;
1201 </td>
1202</tr>
1203<tr valign="top">
1204<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partVisible(IWorkbenchPartReference partRef)</code>
1205<br>
1206 &nbsp;&nbsp;&nbsp;&nbsp;
1207 </td>
1208</tr>
1209<tr valign="top">
1210<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>start(BundleContext context)</code>
1211<br>
1212 &nbsp;&nbsp;&nbsp;&nbsp;
1213 This method is called upon plug-in activation</td>
1214</tr>
1215<tr valign="top">
1216<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>stop(BundleContext context)</code>
1217<br>
1218 &nbsp;&nbsp;&nbsp;&nbsp;
1219 This method is called when the plug-in is stopped</td>
1220</tr>
1221<tr valign="top">
1222<td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code>throwCoreException(java.lang.String message
1223 ,
1224 java.lang.Throwable t)</code>
1225<br>
1226 &nbsp;&nbsp;&nbsp;&nbsp;
1227 </td>
1228</tr>
1229<tr valign="top">
1230<td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code>updateXPathNavigatorView(IWorkbenchPartReference partRef)</code>
1231<br>
1232 &nbsp;&nbsp;&nbsp;&nbsp;
1233 </td>
1234</tr>
1235<tr valign="top">
1236<td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>warn(java.lang.String message)</code>
1237<br>
1238 &nbsp;&nbsp;&nbsp;&nbsp;
1239 </td>
1240</tr>
1241</table>
1242<hr>
1243<table cols="2" width="100%" border="1">
1244<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
1245<td>
1246<h2>
1247 Constructor Detail
1248 </h2>
1249</td>
1250</tr>
1251</table>
1252<h2>XPathViewPlugin</h2>
1253<p>
1254<code>public <strong>XPathViewPlugin</strong>()</code>
1255</p>
1256<p>The constructor.</p>
1257<hr>
1258<table cols="2" width="100%" border="1">
1259<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
1260<td>
1261<h2>
1262 Methods Detail
1263 </h2>
1264</td>
1265</tr>
1266</table>
1267<h2>getDefault</h2>
1268<p>
1269<code>public org.eclipse.wst.xml.xpath.ui.XPathViewPlugin <strong>getDefault</strong>()</code>
1270</p>
1271<p>Returns the shared instance.</p>
1272<h3>Returns</h3>
1273<p>
1274<code>org.eclipse.wst.xml.xpath.ui.XPathViewPlugin</code>
1275</p>
1276<hr>
1277<h2>getPluginId</h2>
1278<p>
1279<code>public java.lang.String <strong>getPluginId</strong>()</code>
1280</p>
1281<p></p>
1282<h3>Returns</h3>
1283<p>
1284<code>java.lang.String</code>
1285</p>
1286<hr>
1287<h2>getResourceBundle</h2>
1288<p>
1289<code>public java.util.ResourceBundle <strong>getResourceBundle</strong>()</code>
1290</p>
1291<p>Returns the plugin's resource bundle</p>
1292<h3>Returns</h3>
1293<p>
1294<code>java.util.ResourceBundle</code>
1295</p>
1296<hr>
1297<h2>getResourceString</h2>
1298<p>
1299<code>public java.lang.String <strong>getResourceString</strong>(java.lang.String key)</code>
1300</p>
1301<p>Returns the string from the plugin's resource bundle,
1302 or 'key' if not found.</p>
1303<h3>Parameters</h3>
1304<p>
1305<code>key</code>
1306</p>
1307<h3>Returns</h3>
1308<p>
1309<code>java.lang.String</code>
1310</p>
1311<hr>
1312<h2>getXPathTemplateContextRegistry</h2>
1313<p>
1314<code>public ContextTypeRegistry <strong>getXPathTemplateContextRegistry</strong>()</code>
1315</p>
1316<p>Returns the template context type registry for xpath</p>
1317<h3>Returns</h3>
1318<p>
1319<code>ContextTypeRegistry</code> - the template context type registry for xpath</p>
1320<hr>
1321<h2>getXPathTemplateStore</h2>
1322<p>
1323<code>public TemplateStore <strong>getXPathTemplateStore</strong>()</code>
1324</p>
1325<p>Returns the template store for the xpath templates.</p>
1326<h3>Returns</h3>
1327<p>
1328<code>TemplateStore</code> - the template store for the xpath templates</p>
1329<hr>
1330<h2>info</h2>
1331<p>
1332<code>public void <strong>info</strong>(java.lang.String message)</code>
1333</p>
1334<p></p>
1335<h3>Parameters</h3>
1336<p>
1337<code>message</code>
1338</p>
1339<hr>
1340<h2>initializeImageRegistry</h2>
1341<p>
1342<code>protected void <strong>initializeImageRegistry</strong>(ImageRegistry reg)</code>
1343</p>
1344<p></p>
1345<h3>Parameters</h3>
1346<p>
1347<code>reg</code>
1348</p>
1349<hr>
1350<h2>log</h2>
1351<p>
1352<code>public void <strong>log</strong>(java.lang.String message
1353 ,
1354 java.lang.Throwable ex)</code>
1355</p>
1356<p></p>
1357<h3>Parameters</h3>
1358<p>
1359<code>message</code>
1360</p>
1361<p>
1362<code>ex</code>
1363</p>
1364<hr>
1365<h2>log</h2>
1366<p>
1367<code>public void <strong>log</strong>(java.lang.Throwable ex)</code>
1368</p>
1369<p></p>
1370<h3>Parameters</h3>
1371<p>
1372<code>ex</code>
1373</p>
1374<hr>
1375<h2>partActivated</h2>
1376<p>
1377<code>public void <strong>partActivated</strong>(IWorkbenchPartReference partRef)</code>
1378</p>
1379<p></p>
1380<h3>Parameters</h3>
1381<p>
1382<code>partRef</code>
1383</p>
1384<hr>
1385<h2>partBroughtToTop</h2>
1386<p>
1387<code>public void <strong>partBroughtToTop</strong>(IWorkbenchPartReference partRef)</code>
1388</p>
1389<p></p>
1390<h3>Parameters</h3>
1391<p>
1392<code>partRef</code>
1393</p>
1394<hr>
1395<h2>partClosed</h2>
1396<p>
1397<code>public void <strong>partClosed</strong>(IWorkbenchPartReference partRef)</code>
1398</p>
1399<p></p>
1400<h3>Parameters</h3>
1401<p>
1402<code>partRef</code>
1403</p>
1404<hr>
1405<h2>partDeactivated</h2>
1406<p>
1407<code>public void <strong>partDeactivated</strong>(IWorkbenchPartReference partRef)</code>
1408</p>
1409<p></p>
1410<h3>Parameters</h3>
1411<p>
1412<code>partRef</code>
1413</p>
1414<hr>
1415<h2>partHidden</h2>
1416<p>
1417<code>public void <strong>partHidden</strong>(IWorkbenchPartReference partRef)</code>
1418</p>
1419<p></p>
1420<h3>Parameters</h3>
1421<p>
1422<code>partRef</code>
1423</p>
1424<hr>
1425<h2>partInputChanged</h2>
1426<p>
1427<code>public void <strong>partInputChanged</strong>(IWorkbenchPartReference partRef)</code>
1428</p>
1429<p></p>
1430<h3>Parameters</h3>
1431<p>
1432<code>partRef</code>
1433</p>
1434<hr>
1435<h2>partOpened</h2>
1436<p>
1437<code>public void <strong>partOpened</strong>(IWorkbenchPartReference partRef)</code>
1438</p>
1439<p></p>
1440<h3>Parameters</h3>
1441<p>
1442<code>partRef</code>
1443</p>
1444<hr>
1445<h2>partVisible</h2>
1446<p>
1447<code>public void <strong>partVisible</strong>(IWorkbenchPartReference partRef)</code>
1448</p>
1449<p></p>
1450<h3>Parameters</h3>
1451<p>
1452<code>partRef</code>
1453</p>
1454<hr>
1455<h2>start</h2>
1456<p>
1457<code>public void <strong>start</strong>(BundleContext context)</code>
1458</p>
1459<p>This method is called upon plug-in activation</p>
1460<h3>Parameters</h3>
1461<p>
1462<code>context</code>
1463</p>
1464<h3>Throws:</h3>
1465<p>
1466<code>java.lang.Exception</code>
1467</p>
1468<hr>
1469<h2>stop</h2>
1470<p>
1471<code>public void <strong>stop</strong>(BundleContext context)</code>
1472</p>
1473<p>This method is called when the plug-in is stopped</p>
1474<h3>Parameters</h3>
1475<p>
1476<code>context</code>
1477</p>
1478<h3>Throws:</h3>
1479<p>
1480<code>java.lang.Exception</code>
1481</p>
1482<hr>
1483<h2>throwCoreException</h2>
1484<p>
1485<code>public void <strong>throwCoreException</strong>(java.lang.String message
1486 ,
1487 java.lang.Throwable t)</code>
1488</p>
1489<p></p>
1490<h3>Parameters</h3>
1491<p>
1492<code>message</code>
1493</p>
1494<p>
1495<code>t</code>
1496</p>
1497<h3>Throws:</h3>
1498<p>
1499<code>CoreException</code>
1500</p>
1501<hr>
1502<h2>updateXPathNavigatorView</h2>
1503<p>
1504<code>protected void <strong>updateXPathNavigatorView</strong>(IWorkbenchPartReference partRef)</code>
1505</p>
1506<p></p>
1507<h3>Parameters</h3>
1508<p>
1509<code>partRef</code>
1510</p>
1511<hr>
1512<h2>warn</h2>
1513<p>
1514<code>public void <strong>warn</strong>(java.lang.String message)</code>
1515</p>
1516<p></p>
1517<h3>Parameters</h3>
1518<p>
1519<code>message</code>
1520</p>
1521<hr>
1522<p>
1523<font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui.internal</strong></font>
1524</p>
1525<hr>
1526<h2>
1527<font size="-1"><strong>org.eclipse.wst.xml.xpath.ui.internal</strong></font>
1528<br>
1529 Class XPathUIMessages</h2>
1530<br>
1531<hr>
1532<pre>public class <strong>XPathUIMessages</strong>
1533extends NLS</pre>
1534<hr>
1535<table width="100%" border="1">
1536<tr cols="2" bgcolor="#CCCCFF">
1537<td colspan="2" width="100%">
1538<h2>Field Summary</h2>
1539</td>
1540</tr>
1541<tr valign="top">
1542<td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathPrefencePage_0</code>
1543<br>
1544 &nbsp;&nbsp;&nbsp;&nbsp;
1545 </td>
1546</tr>
1547</table>
1548<br>
1549<hr>
1550<table cols="2" width="100%" border="1">
1551<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
1552<td>
1553<h2>
1554 Field Detail
1555 </h2>
1556</td>
1557</tr>
1558</table>
1559<h2>XPathPrefencePage_0</h2>
1560<p>
1561<code>public static java.lang.String <strong>XPathPrefencePage_0</strong></code>
1562</p>
1563<hr>
1564<p>
1565<font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui.internal.preferences</strong></font>
1566</p>
1567<hr>
1568<h2>
1569<font size="-1"><strong>org.eclipse.wst.xml.xpath.ui.internal.preferences</strong></font>
1570<br>
1571 Class XPathPrefencePage</h2>
1572<br>
1573<hr>
1574<pre>public class <strong>XPathPrefencePage</strong>
1575extends AbstractPreferencePage</pre>
1576<hr>
1577<table width="100%" border="1">
1578<tr bgcolor="#CCCCFF">
1579<td width="100%">
1580<h2>Constructor Summary</h2>
1581</td>
1582</tr>
1583<tr>
1584<td><code><strong>XPathPrefencePage</strong>()</code></td>
1585</tr>
1586</table>
1587<br>
1588<table width="100%" border="1">
1589<tr cols="2" bgcolor="#CCCCFF">
1590<td colspan="2" width="100%">
1591<h2>Method Summary</h2>
1592</td>
1593</tr>
1594<tr valign="top">
1595<td width="20%" align="right"><code>protected org.eclipse.swt.widgets.Control</code></td><td width="" align="left"><code>createContents(org.eclipse.swt.widgets.Composite parent)</code>
1596<br>
1597 &nbsp;&nbsp;&nbsp;&nbsp;
1598 </td>
1599</tr>
1600</table>
1601<hr>
1602<table cols="2" width="100%" border="1">
1603<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
1604<td>
1605<h2>
1606 Constructor Detail
1607 </h2>
1608</td>
1609</tr>
1610</table>
1611<h2>XPathPrefencePage</h2>
1612<p>
1613<code>public <strong>XPathPrefencePage</strong>()</code>
1614</p>
1615<p></p>
1616<hr>
1617<table cols="2" width="100%" border="1">
1618<tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left">
1619<td>
1620<h2>
1621 Methods Detail
1622 </h2>
1623</td>
1624</tr>
1625</table>
1626<h2>createContents</h2>
1627<p>
1628<code>protected org.eclipse.swt.widgets.Control <strong>createContents</strong>(org.eclipse.swt.widgets.Composite parent)</code>
1629</p>
1630<p></p>
1631<h3>Parameters</h3>
1632<p>
1633<code>parent</code>
1634</p>
1635<h3>Returns</h3>
1636<p>
1637<code>org.eclipse.swt.widgets.Control</code>
1638</p>
1639<hr>
1640</body>
1641</html>