|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.parameters.ExpandableParameterSet
de.jstacs.parameters.ArrayParameterSet
de.jstacs.data.AlphabetContainerParameterSet.AlphabetArrayParameterSet
public static class AlphabetContainerParameterSet.AlphabetArrayParameterSet
Class for the parameters of an array of Alphabets of defined
length.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet |
|---|
ParameterSet.ParameterList |
| Field Summary |
|---|
| Fields inherited from class de.jstacs.parameters.ExpandableParameterSet |
|---|
commentTemplate, nameTemplate, template |
| Fields inherited from class de.jstacs.parameters.ParameterSet |
|---|
errorMessage, parameters, parent, ranged |
| Constructor Summary | |
|---|---|
AlphabetContainerParameterSet.AlphabetArrayParameterSet(Alphabet[] alphabets,
AlphabetContainer.AlphabetContainerType type)
Creates a new AlphabetContainerParameterSet.AlphabetArrayParameterSet from an array of
Alphabets and the information if all alphabets are discrete. |
|
AlphabetContainerParameterSet.AlphabetArrayParameterSet(AlphabetContainer.AlphabetContainerType type)
Creates a new AlphabetContainerParameterSet.AlphabetArrayParameterSet from the information
if the array shall contain only the parameters for discrete
Alphabets. |
|
AlphabetContainerParameterSet.AlphabetArrayParameterSet(StringBuffer representation)
Creates a new AlphabetContainerParameterSet.AlphabetArrayParameterSet from its XML
representation. |
|
| Method Summary | |
|---|---|
AlphabetContainerParameterSet.AlphabetArrayParameterSet |
clone()
Creates a full clone (deep copy) of this ParameterSet. |
void |
fromXML(StringBuffer representation)
Parses the instance fields of a ParameterSet from the XML-representation
as returned by ParameterSet.toXML(). |
String |
getInstanceComment()
Returns a descriptive comment on this ParameterSet. |
String |
getInstanceName()
Returns a descriptive name for this ParameterSet. |
StringBuffer |
toXML()
This method returns an XML-representation of an instance of the implementing class. |
| Methods inherited from class de.jstacs.parameters.ArrayParameterSet |
|---|
getNumberOfParameters, getParameterAt, hasDefaultOrIsSet, loadParameters |
| Methods inherited from class de.jstacs.parameters.ExpandableParameterSet |
|---|
addParameterToSet, parameterRemovable, removeParameterFromSet, replaceContentWith, replaceParametersWithRangedInstance |
| Methods inherited from class de.jstacs.parameters.ParameterSet |
|---|
getErrorMessage, getId, getNumberOfValues, getParent, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, reset, resetToFirst, setParent, simplify, valuesToString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlphabetContainerParameterSet.AlphabetArrayParameterSet(AlphabetContainer.AlphabetContainerType type)
throws Exception
AlphabetContainerParameterSet.AlphabetArrayParameterSet from the information
if the array shall contain only the parameters for discrete
Alphabets.
type - the type of the alphabet(s)
Exception - is thrown if the parameters could not be created
public AlphabetContainerParameterSet.AlphabetArrayParameterSet(StringBuffer representation)
throws NonParsableException
AlphabetContainerParameterSet.AlphabetArrayParameterSet from its XML
representation.
representation - the XML representation
NonParsableException - is thrown if representation could not be
parsed
public AlphabetContainerParameterSet.AlphabetArrayParameterSet(Alphabet[] alphabets,
AlphabetContainer.AlphabetContainerType type)
throws Exception
AlphabetContainerParameterSet.AlphabetArrayParameterSet from an array of
Alphabets and the information if all alphabets are discrete.
alphabets - the alphabetstype - the type of the AlphabetContainer
Exception - is thrown if the parameters could not be created| Method Detail |
|---|
public AlphabetContainerParameterSet.AlphabetArrayParameterSet clone()
throws CloneNotSupportedException
ParameterSetParameterSet. As
a convenience-method the user can use
fillWithStandardFieldsForClone(ParameterSet) on a newly
created instance of a subclass of ParameterSet to obtain a
clone/copy of all standard member variables (those already defined in
ParameterSet) in the passed ParameterSet.
Using this method, the cloning-process becomes merely three-step:ParameterSet>,
most likely with an empty constructor or the one taking just the
instance-class
this.fillWithStandardFieldsForClone on this
instance
Object's method Object.clone()
clone in class ExpandableParameterSetParameterSet
CloneNotSupportedExceptionpublic StringBuffer toXML()
Storable
toXML in interface StorabletoXML in class ArrayParameterSet
public void fromXML(StringBuffer representation)
throws NonParsableException
ParameterSetParameterSet from the XML-representation
as returned by ParameterSet.toXML().
fromXML in class ArrayParameterSetrepresentation - the XML-representation
NonParsableException - is thrown if the XML-code could not be parsedpublic String getInstanceName()
ParameterSet.
public String getInstanceComment()
ParameterSet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||