public static class DiscreteAlphabet.DiscreteAlphabetParameterSet extends Alphabet.AlphabetParameterSet
ParameterSet of a
DiscreteAlphabet.ParameterSet.ParameterListerrorMessage, parameters, parent| Modifier | Constructor and Description |
|---|---|
|
DiscreteAlphabetParameterSet()
Creates a new
DiscreteAlphabet.DiscreteAlphabetParameterSet with empty values. |
|
DiscreteAlphabetParameterSet(char[] alphabet,
boolean caseInsensitive)
Creates a new
DiscreteAlphabet.DiscreteAlphabetParameterSet from an alphabet
of symbols given as a char array. |
protected |
DiscreteAlphabetParameterSet(Class<? extends DiscreteAlphabet> clazz)
This constructor should only be used for parameter sets that are intended to created subclasses of
DiscreteAlphabet. |
|
DiscreteAlphabetParameterSet(String[] alphabet,
boolean caseInsensitive)
Creates a new
DiscreteAlphabet.DiscreteAlphabetParameterSet from an alphabet
given as a String array. |
|
DiscreteAlphabetParameterSet(StringBuffer representation)
The standard constructor for the interface
Storable
. |
| Modifier and Type | Method and Description |
|---|---|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be
constructed using this
ParameterSet. |
clone, getInstanceNamefromXML, getInstance, getInstanceClass, toXMLfromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxyprotected DiscreteAlphabetParameterSet(Class<? extends DiscreteAlphabet> clazz)
DiscreteAlphabet.clazz - the class the should be created with this parameter setpublic DiscreteAlphabetParameterSet()
throws ParameterException
DiscreteAlphabet.DiscreteAlphabetParameterSet with empty values.ParameterException - if the parameters could not be createdAlphabet.AlphabetParameterSet.Alphabet.AlphabetParameterSet(Class)public DiscreteAlphabetParameterSet(String[] alphabet, boolean caseInsensitive) throws Exception
DiscreteAlphabet.DiscreteAlphabetParameterSet from an alphabet
given as a String array.alphabet - the alphabet as String arraycaseInsensitive - indicates if the DiscreteAlphabet shall be case
insensitiveException - if the parameter set could not be createdDiscreteAlphabet.DiscreteAlphabetParameterSet()public DiscreteAlphabetParameterSet(char[] alphabet,
boolean caseInsensitive)
throws Exception
DiscreteAlphabet.DiscreteAlphabetParameterSet from an alphabet
of symbols given as a char array.alphabet - the array of symbolscaseInsensitive - indicates if the DiscreteAlphabet shall be case
insensitiveException - if the parameter set could not be createdDiscreteAlphabet.DiscreteAlphabetParameterSet()public DiscreteAlphabetParameterSet(StringBuffer representation) throws NonParsableException
Storable
. Creates a new DiscreteAlphabet.DiscreteAlphabetParameterSet out of its XML
representation.representation - the XML representation as StringBufferNonParsableException - if the DiscreteAlphabet.DiscreteAlphabetParameterSet could not be
reconstructed out of the XML representation (the
StringBuffer representation could
not be parsed)Alphabet.AlphabetParameterSet.Alphabet.AlphabetParameterSet(StringBuffer),
Storablepublic String getInstanceComment()
InstanceParameterSetParameterSet.getInstanceComment in class InstanceParameterSet