public static class AbstractTarget.Setup extends Object implements Serializable
DTDConstants#SETUP elements in the DOM. It
consists of an instrument name and a map of constant values.| Modifier and Type | Field and Description |
|---|---|
private Map<String,Object> |
constants
The lookup table of constants for this setup.
|
private String |
instrument
The name of the instrument this setup is for.
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
Setup(String inst,
Map<String,Object> lookup)
Constructs a new Setup section.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAllConstants()
Returns all constants in this setup element as a mapping of their
names to their values as Number object.
|
Object |
getConstant(String name)
Returns the value of the constant with the given name.
|
String |
getInstrument()
Returns the name of the instrument this setup is for.
|
private static final long serialVersionUID
private final String instrument
public String getInstrument()
public Object getConstant(String name)