procope.tools.userclasses
Class UserClusterer

java.lang.Object
  extended by procope.tools.userclasses.UserClusterer

public class UserClusterer
extends Object

Represents a clusterer defined by the user. Used internally by ProCope and thus not very well documented.

Author:
Jan Krumsiek

Method Summary
 Clusterer generateClusterer(Object... parameters)
          Generates the actual Clusterer object from this user clusterer.
 String getName()
          Returns the name of this clusterer
 List<UserParameter> getParameters()
          Returns the parameters of this clusterer
static List<UserClusterer> parseClusterers(InputStream stream)
          Parses user clusterers from a given XML input stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Returns the name of this clusterer


getParameters

public List<UserParameter> getParameters()
Returns the parameters of this clusterer


parseClusterers

public static List<UserClusterer> parseClusterers(InputStream stream)
                                           throws SAXException,
                                                  IOException
Parses user clusterers from a given XML input stream

Throws:
SAXException
IOException

generateClusterer

public Clusterer generateClusterer(Object... parameters)
                            throws SecurityException,
                                   NoSuchMethodException,
                                   IllegalArgumentException,
                                   InstantiationException,
                                   IllegalAccessException,
                                   InvocationTargetException,
                                   ClassNotFoundException
Generates the actual Clusterer object from this user clusterer.

Throws:
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
ClassNotFoundException