Revision 1001,
644 bytes
checked in by alexandrecorreia, 15 years ago
(diff) |
Ticket #552 - Inclusão do projeto Java referente ao applet do módulo.
|
Rev | Line | |
---|
[1001] | 1 | package nu.fw.jeti.jabber.handlers; |
---|
| 2 | |
---|
| 3 | import org.xml.sax.Attributes; |
---|
| 4 | import nu.fw.jeti.jabber.elements.InfoQueryBuilder; |
---|
| 5 | |
---|
| 6 | /** |
---|
| 7 | * <p>Title: im</p> |
---|
| 8 | * <p>Description: </p> |
---|
| 9 | * <p>Copyright: Copyright (c) 2001</p> |
---|
| 10 | * <p>Company: </p> |
---|
| 11 | * @author E.S. de Boer |
---|
| 12 | * @version 1.0 |
---|
| 13 | */ |
---|
| 14 | |
---|
| 15 | public class InfoQueryHandler extends PacketHandler |
---|
| 16 | { |
---|
| 17 | |
---|
| 18 | public InfoQueryHandler() |
---|
| 19 | { |
---|
| 20 | super(new InfoQueryBuilder()); |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | public void startHandling(Attributes attr) |
---|
| 24 | { |
---|
| 25 | builder.reset(); |
---|
| 26 | super.startHandling(attr); |
---|
| 27 | ((InfoQueryBuilder)builder).setType(attr.getValue("type")); |
---|
| 28 | } |
---|
| 29 | } |
---|
| 30 | /* |
---|
| 31 | * Overrides for emacs |
---|
| 32 | * Local variables: |
---|
| 33 | * tab-width: 4 |
---|
| 34 | * End: |
---|
| 35 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.