Revision 3102,
808 bytes
checked in by amuller, 14 years ago
(diff) |
Ticket #986 - Efetuado merge para o Branch 2.2( atualizacao do modulo)
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | package nu.fw.jeti.plugins.xhtml; |
---|
2 | |
---|
3 | import java.awt.Color; |
---|
4 | import java.util.ArrayList; |
---|
5 | import java.util.List; |
---|
6 | |
---|
7 | import javax.swing.text.SimpleAttributeSet; |
---|
8 | import javax.swing.text.StyleConstants; |
---|
9 | |
---|
10 | import nu.fw.jeti.jabber.elements.Extension; |
---|
11 | import nu.fw.jeti.jabber.handlers.ExtensionHandler; |
---|
12 | import nu.fw.jeti.plugins.Word; |
---|
13 | import nu.fw.jeti.util.Log; |
---|
14 | |
---|
15 | import org.xml.sax.Attributes; |
---|
16 | |
---|
17 | /** |
---|
18 | * @author E.S. de Boer |
---|
19 | * |
---|
20 | * |
---|
21 | */ |
---|
22 | public class XHTMLIMHandler extends ExtensionHandler |
---|
23 | { |
---|
24 | private Extension xhtml; |
---|
25 | |
---|
26 | public void startHandling(Attributes attr) |
---|
27 | { |
---|
28 | xhtml = null; |
---|
29 | } |
---|
30 | |
---|
31 | public void addExtension(Extension extension) |
---|
32 | { |
---|
33 | xhtml = extension; |
---|
34 | } |
---|
35 | |
---|
36 | public Extension build() |
---|
37 | { |
---|
38 | Extension e = xhtml; |
---|
39 | xhtml=null; |
---|
40 | return e; |
---|
41 | } |
---|
42 | } |
---|
43 | /* |
---|
44 | * Overrides for emacs |
---|
45 | * Local variables: |
---|
46 | * tab-width: 4 |
---|
47 | * End: |
---|
48 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.