public class ServerXMLHandlerTestee extends ServerXMLHandler
Modifier and Type | Field and Description |
---|---|
java.io.InputStream |
input |
java.util.Queue<Tag> |
tags |
attr
Constructor and Description |
---|
ServerXMLHandlerTestee(java.lang.String inputStr) |
Modifier and Type | Method and Description |
---|---|
private void |
add(Tag t) |
protected void |
endOfXMLDocument()
Method is called when root tag is closed
|
void |
parsingException(java.lang.Exception e) |
void |
receivedCmd(TCmd tag)
Method is called when Tag type CMD is received from the client.
|
void |
receivedLogin(TLogin tag)
Method is called when Tag type LOGIN is received from the client.
|
void |
receivedLogout(TLogout tag)
Method is called when Tag type LOGOUT is received from the client.
|
void |
receivedXrequest(TXrequest tag)
Method is called when Tag type XREQUEST is received from the client.
|
endElement, getHeader, parseClientTag, parseCmdTag, parseLoginTag, parseLogoutTag, parseTag, parseXrequestTag
characters, convertToColor, endDocument, getData, getType, getVersion, parseHexImage, startElement
public java.io.InputStream input
public java.util.Queue<Tag> tags
public ServerXMLHandlerTestee(java.lang.String inputStr) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void receivedCmd(TCmd tag)
ServerXMLHandler
receivedCmd
in class ServerXMLHandler
tag
- Tag that was receivedTCmd
public void receivedLogin(TLogin tag)
ServerXMLHandler
receivedLogin
in class ServerXMLHandler
tag
- Tag that was receivedTLogin
public void receivedLogout(TLogout tag)
ServerXMLHandler
receivedLogout
in class ServerXMLHandler
tag
- Tag that was receivedTLogout
public void receivedXrequest(TXrequest tag)
ServerXMLHandler
receivedXrequest
in class ServerXMLHandler
tag
- Tag that was receivedTXrequest
public void parsingException(java.lang.Exception e)
private void add(Tag t)
protected void endOfXMLDocument()
XMLHandler
endOfXMLDocument
in class XMLHandler