public class EnterConfigurationElement extends RecordingStrategiesElement
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
id
Stores the id.
|
| Constructor and Description |
|---|
EnterConfigurationElement()
Creates a new empty instance.
|
EnterConfigurationElement(java.lang.String id)
Creates a new instance with the given parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
If a pool is used this method is for releasing the element from the pool.
|
java.lang.String |
getId()
Getter for the id.
|
int |
getIdentification()
Returns the unambiguous identification of the element.
|
void |
process(RecorderStrategy strategy)
Hands the information of the element to the
RecorderStrategy. |
void |
read(java.io.DataInputStream in)
Reads this instance from the given input stream.
|
void |
send(java.io.DataOutputStream out)
Writes this instance to the given output stream.
|
void |
setId(java.lang.String id)
Setter for the id.
|
releasepublic EnterConfigurationElement()
public EnterConfigurationElement(java.lang.String id)
id - the idpublic java.lang.String getId()
public void setId(java.lang.String id)
id - the id to setpublic void send(java.io.DataOutputStream out)
throws java.io.IOException
send in class RecordingStrategiesElementout - the output streamjava.io.IOException - in case of any I/O error or problempublic void read(java.io.DataInputStream in)
throws java.io.IOException
read in class RecordingStrategiesElementin - the input streamjava.io.IOException - in case of any I/O error or problempublic int getIdentification()
getIdentification in class RecordingStrategiesElementpublic void process(RecorderStrategy strategy)
RecorderStrategy.process in class RecordingStrategiesElementstrategy - the RecorderStrategypublic void clear()
clear in class RecordingStrategiesElement