org.qtunes.auth.control
Interface ParamParser

All Known Implementing Classes:
JSONParser, SimpleParser

public interface ParamParser

A ParamParser converts from a String representation of a ControlMethod into the actual objects required to invoke that method


Method Summary
 java.util.List<Call> getMethodCalls()
          Get the name of the ControlMethod we want to invoke
 java.lang.String getObjectName()
          Get the name of the Object we want to invoke the method on
 Session getSession()
          Get the Session that was specified in the Parameters
 void parse(java.lang.String in)
           
 java.lang.String toString(java.lang.Object object)
          Convert the specified Object to a String in a form that would be usable by this ParamParser
 

Method Detail

parse

void parse(java.lang.String in)
           throws java.lang.Exception
Throws:
java.lang.Exception

getObjectName

java.lang.String getObjectName()
Get the name of the Object we want to invoke the method on


getMethodCalls

java.util.List<Call> getMethodCalls()
Get the name of the ControlMethod we want to invoke


getSession

Session getSession()
Get the Session that was specified in the Parameters


toString

java.lang.String toString(java.lang.Object object)
Convert the specified Object to a String in a form that would be usable by this ParamParser