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, parseXresponseTag
characters, convertToColor, endDocument, getData, getType, getVersion, parseHexImage, startElement
public 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.IOException
org.xml.sax.SAXException
private void add(Tag t)
public void receivedHearTag(THear tag)
ClientXMLHandler
receivedHearTag
in class ClientXMLHandler
tag
- Tag that was receivedTHear
public void receivedLoggedInTag(TLoggedIn tag)
ClientXMLHandler
receivedLoggedInTag
in class ClientXMLHandler
tag
- Tag that was receivedTLoggedIn
public void receivedLoggedOutTag(TLoggedOut tag)
ClientXMLHandler
receivedLoggedOutTag
in class ClientXMLHandler
tag
- Tag that was receivedTLoggedOut
public void receivedServerTag(TServer tag)
ClientXMLHandler
receivedServerTag
in class ClientXMLHandler
tag
- Tag that was receivedTServer
public void receivedSetTag(TSet tag)
ClientXMLHandler
receivedSetTag
in class ClientXMLHandler
tag
- Tag that was receivedTSet
public void receivedXresponseTag(TXresponse tag)
ClientXMLHandler
receivedXresponseTag
in class ClientXMLHandler
tag
- Tag that was receivedTXresponse
protected void endOfXMLDocument()
XMLHandler
endOfXMLDocument
in class XMLHandler