com.tekann.webservice.client.parser
Class DBMessageParser

java.lang.Object
  extended by totalcross.xml.XmlTokenizer
      extended by com.tekann.webservice.client.parser.AnswerParser
          extended by com.tekann.webservice.client.parser.DBMessageParser

public class DBMessageParser
extends AnswerParser

Used to parse the messages

Author:
evandro

Constructor Summary
DBMessageParser()
           
DBMessageParser(totalcross.io.Stream stream)
          Creates a new instance of DBMessageParser
 
Method Summary
 void foundCharacterData(byte[] buffer, int offset, int count)
           
 java.lang.Object storeAnswer()
          Store the answer somehow
 
Methods inherited from class com.tekann.webservice.client.parser.AnswerParser
foundAttributeName, foundAttributeValue, foundCharacter, foundEndEmptyTag, foundEndTagName, foundStartTagName, parse, parse, setStream
 
Methods inherited from class totalcross.xml.XmlTokenizer
disableReferenceResolution, getAbsoluteOffset, hashCode, isDataCDATA, resolveCharacterReference, setStrictlyXml, tokenize, tokenize, tokenize, tokenize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBMessageParser

public DBMessageParser(totalcross.io.Stream stream)
                throws totalcross.xml.SyntaxException,
                       totalcross.io.IOException
Creates a new instance of DBMessageParser

Throws:
totalcross.xml.SyntaxException
totalcross.io.IOException

DBMessageParser

public DBMessageParser()
Method Detail

foundCharacterData

public void foundCharacterData(byte[] buffer,
                               int offset,
                               int count)
Overrides:
foundCharacterData in class AnswerParser

storeAnswer

public java.lang.Object storeAnswer()
Description copied from class: AnswerParser
Store the answer somehow

Specified by:
storeAnswer in class AnswerParser
Returns: