|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet
de.jstacs.data.Alphabet.AlphabetParameterSet
de.jstacs.data.alphabets.DiscreteAlphabet.DiscreteAlphabetParameterSet
public static class DiscreteAlphabet.DiscreteAlphabetParameterSet
Class for the ParameterSet
of a
DiscreteAlphabet
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet |
---|
ParameterSet.ParameterList |
Field Summary |
---|
Fields inherited from class de.jstacs.parameters.ParameterSet |
---|
errorMessage, parameters, parent, ranged |
Constructor Summary | |
---|---|
|
DiscreteAlphabet.DiscreteAlphabetParameterSet()
Creates a new DiscreteAlphabet.DiscreteAlphabetParameterSet with empty values. |
|
DiscreteAlphabet.DiscreteAlphabetParameterSet(char[] alphabet,
boolean caseInsensitive)
Creates a new DiscreteAlphabet.DiscreteAlphabetParameterSet from an alphabet
of symbols given as a char array. |
protected |
DiscreteAlphabet.DiscreteAlphabetParameterSet(Class<? extends DiscreteAlphabet> clazz)
This constructor should only be used for parameter sets that are intended to created subclasses of DiscreteAlphabet . |
|
DiscreteAlphabet.DiscreteAlphabetParameterSet(String[] alphabet,
boolean caseInsensitive)
Creates a new DiscreteAlphabet.DiscreteAlphabetParameterSet from an alphabet
given as a String array. |
|
DiscreteAlphabet.DiscreteAlphabetParameterSet(StringBuffer representation)
The standard constructor for the interface Storable
. |
Method Summary | |
---|---|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be constructed using this ParameterSet . |
protected void |
loadParameters()
Loads the parameters for this ParameterSet . |
Methods inherited from class de.jstacs.data.Alphabet.AlphabetParameterSet |
---|
clone, getInstanceName |
Methods inherited from class de.jstacs.parameters.InstanceParameterSet |
---|
fromXML, getInstance, getInstanceClass, toXML |
Methods inherited from class de.jstacs.parameters.ParameterSet |
---|
fromGalaxy, getErrorMessage, getId, getIndex, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setParent, simplify, toGalaxy, valuesToString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DiscreteAlphabet.DiscreteAlphabetParameterSet(Class<? extends DiscreteAlphabet> clazz)
DiscreteAlphabet
.
clazz
- the class the should be created with this parameter setpublic DiscreteAlphabet.DiscreteAlphabetParameterSet()
DiscreteAlphabet.DiscreteAlphabetParameterSet
with empty values.
Alphabet.AlphabetParameterSet.Alphabet.AlphabetParameterSet(Class)
public DiscreteAlphabet.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
insensitive
Exception
- if the parameter set could not be createdDiscreteAlphabet.DiscreteAlphabetParameterSet()
public DiscreteAlphabet.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
insensitive
Exception
- if the parameter set could not be createdDiscreteAlphabet.DiscreteAlphabetParameterSet()
public DiscreteAlphabet.DiscreteAlphabetParameterSet(StringBuffer representation) throws NonParsableException
Storable
. Creates a new DiscreteAlphabet.DiscreteAlphabetParameterSet
out of its XML
representation.
representation
- the XML representation as StringBuffer
NonParsableException
- 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)
,
Storable
Method Detail |
---|
protected void loadParameters() throws Exception
ParameterSet
ParameterSet
. This is in most cases
done by calling ParameterSet.initParameterList()
or
ParameterSet.initParameterList(int)
to initialize
ParameterSet.parameters
and afterwards filling
ParameterSet.parameters
with instances of subclasses of
Parameter
.
loadParameters
in class ParameterSet
Exception
- if the parameters could not be loadedParameter
,
ParameterSet.parameters
,
ParameterSet.initParameterList()
,
ParameterSet.initParameterList(int)
public String getInstanceComment()
InstanceParameterSet
ParameterSet
.
getInstanceComment
in class InstanceParameterSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |