com.tekann.webservice.client.parser
Class Base64AnswerParser

java.lang.Object
  extended by totalcross.xml.XmlTokenizer
      extended by com.tekann.webservice.client.parser.AnswerParser
          extended by com.tekann.webservice.client.parser.Base64AnswerParser
Direct Known Subclasses:
ZLibAnswerParser

public class Base64AnswerParser
extends AnswerParser

Parser for convert base64 data in base10.

Author:
evandro

Constructor Summary
Base64AnswerParser()
           
Base64AnswerParser(totalcross.io.Stream stream)
          Creates a new instance of XMLAnswerParser
 
Method Summary
 void foundAttributeValue(byte[] buffer, int offset, int count, byte dlm)
           
 void foundStartTagName(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, foundCharacter, foundCharacterData, foundEndEmptyTag, foundEndTagName, 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

Base64AnswerParser

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

Parameters:
stream -
Throws:
totalcross.xml.SyntaxException
totalcross.io.IOException

Base64AnswerParser

public Base64AnswerParser()
Method Detail

foundAttributeValue

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

foundStartTagName

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