public class ClientXMLHandlerTestee extends ClientXMLHandler
| Modifier and Type | Field and Description |
|---|---|
java.io.InputStream |
input |
java.util.Queue<Tag> |
tags |
attr| Constructor and Description |
|---|
ClientXMLHandlerTestee(java.lang.String inputStr)
The constructor for this test
|
| Modifier and Type | Method and Description |
|---|---|
private void |
add(Tag t) |
protected void |
endOfXMLDocument()
Method is called when root tag is closed
|
void |
receivedHearTag(THear tag)
Method is called when Tag type HEAR is received from the server.
|
void |
receivedLoggedInTag(TLoggedIn tag)
Method is called when Tag type LOGGED_IN is received from the server.
|
void |
receivedLoggedOutTag(TLoggedOut tag)
Method is called when Tag type LOGGED_OUT is received from the server.
|
void |
receivedServerTag(TServer tag)
Method is called when Tag type SERVER is received from the server.
|
void |
receivedSetTag(TSet tag)
Method is called when Tag type SET is received from the server.
|
void |
receivedXresponseTag(TXresponse tag)
Method is called when Tag type XRESPONSE is received from the server.
|
endElement, getHeader, parseHearTag, parseLoggedInTag, parseLoggedOutTag, parseServerTag, parseSetTag, parseTag, parseXresponseTagcharacters, convertToColor, endDocument, getData, getType, getVersion, parseHexImage, startElementpublic java.io.InputStream input
public java.util.Queue<Tag> tags
public ClientXMLHandlerTestee(java.lang.String inputStr)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOExceptionorg.xml.sax.SAXExceptionprivate void add(Tag t)
public void receivedHearTag(THear tag)
ClientXMLHandlerreceivedHearTag in class ClientXMLHandlertag - Tag that was receivedTHearpublic void receivedLoggedInTag(TLoggedIn tag)
ClientXMLHandlerreceivedLoggedInTag in class ClientXMLHandlertag - Tag that was receivedTLoggedInpublic void receivedLoggedOutTag(TLoggedOut tag)
ClientXMLHandlerreceivedLoggedOutTag in class ClientXMLHandlertag - Tag that was receivedTLoggedOutpublic void receivedServerTag(TServer tag)
ClientXMLHandlerreceivedServerTag in class ClientXMLHandlertag - Tag that was receivedTServerpublic void receivedSetTag(TSet tag)
ClientXMLHandlerreceivedSetTag in class ClientXMLHandlertag - Tag that was receivedTSetpublic void receivedXresponseTag(TXresponse tag)
ClientXMLHandlerreceivedXresponseTag in class ClientXMLHandlertag - Tag that was receivedTXresponseprotected void endOfXMLDocument()
XMLHandlerendOfXMLDocument in class XMLHandler