com.tekann.webservice.client.parser
Class SyncQueryParser

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

public class SyncQueryParser
extends AnswerParser

It can be used to parse an array of Strings.

Author:
gfrantz

Field Summary
 
Fields inherited from class com.tekann.webservice.client.parser.AnswerParser
lastAttributeName, lastAttributeValue, lastData, lastEndTag, lastStartTag, stream
 
Constructor Summary
SyncQueryParser(totalcross.io.Stream stream)
          Creates a new instance of SyncQueryParser
 
Method Summary
 void foundCharacter(char charFound)
           
 void foundCharacterData(byte[] buffer, int offset, int count)
           
 void foundEndTagName(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, foundEndEmptyTag, foundStartTagName, init, isReturn
 
Methods inherited from class totalcross.xml.XmlTokenizer
disableReferenceResolution, foundComment, foundDeclaration, foundEndOfInput, foundInvalidData, foundProcessingInstruction, foundReference, foundStartOfInput, getAbsoluteOffset, isDataCDATA, resolveCharacterReference, setCdataContents, setStrictlyXml, tokenize, tokenize, tokenize, tokenize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncQueryParser

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

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

foundCharacter

public void foundCharacter(char charFound)
Overrides:
foundCharacter in class AnswerParser

foundCharacterData

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

foundEndTagName

public void foundEndTagName(byte[] buffer,
                            int offset,
                            int count)
Overrides:
foundEndTagName 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: