source: 3thparty/jmessenger/src/nu/fw/jeti/plugins/xhtml/XHTMLIMHandler.java @ 3952

Revision 3952, 808 bytes checked in by alexandrecorreia, 13 years ago (diff)

Ticket #1710 - Adicao do codigo fonte java do componente jmessenger(jabberit_messenger)

  • Property svn:executable set to *
Line 
1package nu.fw.jeti.plugins.xhtml;
2
3import java.awt.Color;
4import java.util.ArrayList;
5import java.util.List;
6
7import javax.swing.text.SimpleAttributeSet;
8import javax.swing.text.StyleConstants;
9
10import nu.fw.jeti.jabber.elements.Extension;
11import nu.fw.jeti.jabber.handlers.ExtensionHandler;
12import nu.fw.jeti.plugins.Word;
13import nu.fw.jeti.util.Log;
14
15import org.xml.sax.Attributes;
16
17/**
18 * @author E.S. de Boer
19 *
20 *
21 */
22public 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.