com.tekann.webservice.client.parser
Class PDAContextParser

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

public class PDAContextParser
extends AnswerParser

Used to parse a PDA context

Author:
gfrantz

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

PDAContextParser

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

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

foundAttributeName

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

foundAttributeValue

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

foundEndTagName

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