]> git.stg.codes - stg.git/blob - doc/xslt/highlighting/java-hl.xml
Correcting small mistakes
[stg.git] / doc / xslt / highlighting / java-hl.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3 \r
4 Syntax highlighting definition for Java\r
5 \r
6 xslthl - XSLT Syntax Highlighting\r
7 http://sourceforge.net/projects/xslthl/\r
8 Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks\r
9 \r
10 This software is provided 'as-is', without any express or implied\r
11 warranty.  In no event will the authors be held liable for any damages\r
12 arising from the use of this software.\r
13 \r
14 Permission is granted to anyone to use this software for any purpose,\r
15 including commercial applications, and to alter it and redistribute it\r
16 freely, subject to the following restrictions:\r
17 \r
18 1. The origin of this software must not be misrepresented; you must not\r
19    claim that you wrote the original software. If you use this software\r
20    in a product, an acknowledgment in the product documentation would be\r
21    appreciated but is not required.\r
22 2. Altered source versions must be plainly marked as such, and must not be\r
23    misrepresented as being the original software.\r
24 3. This notice may not be removed or altered from any source distribution.\r
25 \r
26 Michal Molhanec <mol1111 at users.sourceforge.net>\r
27 Jirka Kosek <kosek at users.sourceforge.net>\r
28 Michiel Hendriks <elmuerte at users.sourceforge.net>\r
29 \r
30 -->\r
31 <highlighters>\r
32         <highlighter type="multiline-comment">\r
33                 <start>/**</start>\r
34                 <end>*/</end>\r
35                 <style>doccomment</style>\r
36         </highlighter>\r
37         <highlighter type="multiline-comment">\r
38                 <start>/*</start>\r
39                 <end>*/</end>\r
40         </highlighter>\r
41         <highlighter type="oneline-comment">//</highlighter>\r
42         <highlighter type="string">\r
43                 <string>"</string>\r
44                 <escape>\</escape>\r
45         </highlighter>\r
46         <highlighter type="string">\r
47                 <string>'</string>\r
48                 <escape>\</escape>\r
49         </highlighter>\r
50         <highlighter type="annotation">\r
51                 <start>@</start>\r
52                 <valueStart>(</valueStart>\r
53                 <valueEnd>)</valueEnd>\r
54         </highlighter>\r
55         <highlighter type="hexnumber">\r
56                 <prefix>0x</prefix>\r
57                 <ignoreCase />\r
58         </highlighter>\r
59         <highlighter type="number">\r
60                 <point>.</point>\r
61                 <exponent>e</exponent>\r
62                 <suffix>f</suffix>\r
63                 <suffix>d</suffix>\r
64                 <suffix>l</suffix>\r
65                 <ignoreCase />\r
66         </highlighter>\r
67         <highlighter type="keywords">\r
68                 <keyword>abstract</keyword>\r
69                 <keyword>boolean</keyword>\r
70                 <keyword>break</keyword>\r
71                 <keyword>byte</keyword>\r
72                 <keyword>case</keyword>\r
73                 <keyword>catch</keyword>\r
74                 <keyword>char</keyword>\r
75                 <keyword>class</keyword>\r
76                 <keyword>const</keyword>\r
77                 <keyword>continue</keyword>\r
78                 <keyword>default</keyword>\r
79                 <keyword>do</keyword>\r
80                 <keyword>double</keyword>\r
81                 <keyword>else</keyword>\r
82                 <keyword>extends</keyword>\r
83                 <keyword>final</keyword>\r
84                 <keyword>finally</keyword>\r
85                 <keyword>float</keyword>\r
86                 <keyword>for</keyword>\r
87                 <keyword>goto</keyword>\r
88                 <keyword>if</keyword>\r
89                 <keyword>implements</keyword>\r
90                 <keyword>import</keyword>\r
91                 <keyword>instanceof</keyword>\r
92                 <keyword>int</keyword>\r
93                 <keyword>interface</keyword>\r
94                 <keyword>long</keyword>\r
95                 <keyword>native</keyword>\r
96                 <keyword>new</keyword>\r
97                 <keyword>package</keyword>\r
98                 <keyword>private</keyword>\r
99                 <keyword>protected</keyword>\r
100                 <keyword>public</keyword>\r
101                 <keyword>return</keyword>\r
102                 <keyword>short</keyword>\r
103                 <keyword>static</keyword>\r
104                 <keyword>strictfp</keyword>\r
105                 <keyword>super</keyword>\r
106                 <keyword>switch</keyword>\r
107                 <keyword>synchronized</keyword>\r
108                 <keyword>this</keyword>\r
109                 <keyword>throw</keyword>\r
110                 <keyword>throws</keyword>\r
111                 <keyword>transient</keyword>\r
112                 <keyword>try</keyword>\r
113                 <keyword>void</keyword>\r
114                 <keyword>volatile</keyword>\r
115                 <keyword>while</keyword>\r
116         </highlighter>\r
117 </highlighters>