core
Class XmlParser

java.lang.Object
  extended bycore.XmlParser

public class XmlParser
extends java.lang.Object

The XmlParser class is parsing objects to and from XML. Utilizing the KXML-parser, which is a lightweight xml parser developed for use on mobile handsets.


Constructor Summary
XmlParser()
           
 
Method Summary
 java.lang.String createAuthenticationResponse(AuthenticationResponse authResponse)
          Creates the xml AuthenticationResponse that proves the client is authenticated
 AuthenticationRequest getAuthenticationRequest(java.lang.String input)
          This method creates a AuthenticationRequest-object from the xml data parsed from the inputStream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlParser

public XmlParser()
Method Detail

getAuthenticationRequest

public AuthenticationRequest getAuthenticationRequest(java.lang.String input)
This method creates a AuthenticationRequest-object from the xml data parsed from the inputStream

Parameters:
input -
Returns:
AuthenticationRequest

createAuthenticationResponse

public java.lang.String createAuthenticationResponse(AuthenticationResponse authResponse)
Creates the xml AuthenticationResponse that proves the client is authenticated

Parameters:
authResponse -
Returns:
String xmlAuthResponse