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, parseXrequestTagcharacters, convertToColor, endDocument, getData, getType, getVersion, parseHexImage, startElementpublic 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.IOExceptionorg.xml.sax.SAXExceptionpublic void receivedCmd(TCmd tag)
ServerXMLHandlerreceivedCmd in class ServerXMLHandlertag - Tag that was receivedTCmdpublic void receivedLogin(TLogin tag)
ServerXMLHandlerreceivedLogin in class ServerXMLHandlertag - Tag that was receivedTLoginpublic void receivedLogout(TLogout tag)
ServerXMLHandlerreceivedLogout in class ServerXMLHandlertag - Tag that was receivedTLogoutpublic void receivedXrequest(TXrequest tag)
ServerXMLHandlerreceivedXrequest in class ServerXMLHandlertag - Tag that was receivedTXrequestpublic void parsingException(java.lang.Exception e)
private void add(Tag t)
protected void endOfXMLDocument()
XMLHandlerendOfXMLDocument in class XMLHandler