|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprocope.tools.userclasses.UserScoresCalculator
public class UserScoresCalculator
Represents a scores calculator defined by the user. Used internally by ProCope and thus not very well documented.
Constructor Summary | |
---|---|
UserScoresCalculator(String name,
String className,
boolean multiplePurificationDatasets,
List<UserParameter> parameters)
Creates a new user scores calculator. |
Method Summary | |
---|---|
ScoresCalculator |
generateScoresCalculator(PurificationData[] data,
Object... additionalParameters)
Generates the actual ScoresCalculator object for this user scores
calculator. |
String |
getName()
Returns the name of this scores calcuator |
List<UserParameter> |
getParameters()
Returns the parameters of this scores calculator. |
boolean |
multiplePurifications()
Returns whether this scores calculator accepts multiple purification data sets. |
static List<UserScoresCalculator> |
parseCalculators(InputStream stream)
Parse user scores calculators from a given XML input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserScoresCalculator(String name, String className, boolean multiplePurificationDatasets, List<UserParameter> parameters)
Method Detail |
---|
public String getName()
public List<UserParameter> getParameters()
public boolean multiplePurifications()
public ScoresCalculator generateScoresCalculator(PurificationData[] data, Object... additionalParameters) throws SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException, ClassNotFoundException
ScoresCalculator
object for this user scores
calculator.
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
ClassNotFoundException
public static List<UserScoresCalculator> parseCalculators(InputStream stream) throws SAXException, IOException
SAXException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |