com.aetrion.flickr.reflection
Class ReflectionInterface

java.lang.Object
  extended by com.aetrion.flickr.reflection.ReflectionInterface

public class ReflectionInterface
extends java.lang.Object

Interface for testing the complete implementation of all Flickr-methods.

Version:
$Id: ReflectionInterface.java,v 1.10 2008/01/28 23:01:45 x-mago Exp $
Author:
Anthony Eden

Field Summary
static java.lang.String METHOD_GET_METHOD_INFO
           
static java.lang.String METHOD_GET_METHODS
           
 
Constructor Summary
ReflectionInterface(java.lang.String apiKey, java.lang.String sharedSecret, Transport transport)
          Construct a ReflectionInterface.
 
Method Summary
 Method getMethodInfo(java.lang.String methodName)
          Get the info for the specified method.
 java.util.Collection getMethods()
          Get a list of all methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_GET_METHOD_INFO

public static final java.lang.String METHOD_GET_METHOD_INFO
See Also:
Constant Field Values

METHOD_GET_METHODS

public static final java.lang.String METHOD_GET_METHODS
See Also:
Constant Field Values
Constructor Detail

ReflectionInterface

public ReflectionInterface(java.lang.String apiKey,
                           java.lang.String sharedSecret,
                           Transport transport)
Construct a ReflectionInterface.

Parameters:
apiKey - The API key
sharedSecret - The Shared Secret
transport - The Transport interface
Method Detail

getMethodInfo

public Method getMethodInfo(java.lang.String methodName)
                     throws java.io.IOException,
                            org.xml.sax.SAXException,
                            FlickrException
Get the info for the specified method.

Parameters:
methodName - The method name
Returns:
The Method object
Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException

getMethods

public java.util.Collection getMethods()
                                throws java.io.IOException,
                                       org.xml.sax.SAXException,
                                       FlickrException
Get a list of all methods.

Returns:
The method names
Throws:
java.io.IOException
org.xml.sax.SAXException
FlickrException


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.