public class WavSwitch<T>
extends java.lang.Object
doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
WavPackage
Modifier and Type | Field and Description |
---|---|
protected static WavPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
WavSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseChannel(Channel object)
Returns the result of interpreting the object as an instance of 'Channel'.
|
T |
caseChunk(Chunk object)
Returns the result of interpreting the object as an instance of 'Chunk'.
|
T |
caseChunkCue(ChunkCue object)
Returns the result of interpreting the object as an instance of 'Chunk Cue'.
|
T |
caseChunkData(ChunkData object)
Returns the result of interpreting the object as an instance of 'Chunk Data'.
|
T |
caseChunkDataList(ChunkDataList object)
Returns the result of interpreting the object as an instance of 'Chunk Data List'.
|
T |
caseChunkDataListType(ChunkDataListType object)
Returns the result of interpreting the object as an instance of 'Chunk Data List Type'.
|
T |
caseChunkDataListTypeLabel(ChunkDataListTypeLabel object)
Returns the result of interpreting the object as an instance of 'Chunk Data List Type Label'.
|
T |
caseChunkDataListTypeLabeledText(ChunkDataListTypeLabeledText object)
Returns the result of interpreting the object as an instance of 'Chunk Data List Type Labeled Text'.
|
T |
caseChunkDataListTypeNote(ChunkDataListTypeNote object)
Returns the result of interpreting the object as an instance of 'Chunk Data List Type Note'.
|
T |
caseChunkFact(ChunkFact object)
Returns the result of interpreting the object as an instance of 'Chunk Fact'.
|
T |
caseChunkFormat(ChunkFormat object)
Returns the result of interpreting the object as an instance of 'Chunk Format'.
|
T |
caseChunkInstrument(ChunkInstrument object)
Returns the result of interpreting the object as an instance of 'Chunk Instrument'.
|
T |
caseChunkPlayList(ChunkPlayList object)
Returns the result of interpreting the object as an instance of 'Chunk Play List'.
|
T |
caseChunkSampler(ChunkSampler object)
Returns the result of interpreting the object as an instance of 'Chunk Sampler'.
|
T |
caseChunkSilent(ChunkSilent object)
Returns the result of interpreting the object as an instance of 'Chunk Silent'.
|
T |
caseChunkUnknown(ChunkUnknown object)
Returns the result of interpreting the object as an instance of 'Chunk Unknown'.
|
T |
caseChunkWaveList(ChunkWaveList object)
Returns the result of interpreting the object as an instance of 'Chunk Wave List'.
|
T |
caseCuePoint(CuePoint object)
Returns the result of interpreting the object as an instance of 'Cue Point'.
|
T |
caseParseChunkException(ParseChunkException object)
Returns the result of interpreting the object as an instance of 'Parse Chunk Exception'.
|
T |
caseRIFFWave(RIFFWave object)
Returns the result of interpreting the object as an instance of 'RIFF Wave'.
|
T |
caseSampleData(SampleData object)
Returns the result of interpreting the object as an instance of 'Sample Data'.
|
T |
caseSampleData16Bit(SampleData16Bit object)
Returns the result of interpreting the object as an instance of 'Sample Data16 Bit'.
|
T |
caseSampleData8Bit(SampleData8Bit object)
Returns the result of interpreting the object as an instance of 'Sample Data8 Bit'.
|
T |
caseSampleLoop(SampleLoop object)
Returns the result of interpreting the object as an instance of 'Sample Loop'.
|
T |
caseSegment(Segment object)
Returns the result of interpreting the object as an instance of 'Segment'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(EClass theEClass,
EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
T |
doSwitch(EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected T |
doSwitch(int classifierID,
EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected static WavPackage modelPackage
public T doSwitch(EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected T doSwitch(EClass theEClass, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected T doSwitch(int classifierID, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseRIFFWave(RIFFWave object)
object
- the target of the switch.doSwitch(EObject)
public T caseChannel(Channel object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunk(Chunk object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkCue(ChunkCue object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkData(ChunkData object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkDataList(ChunkDataList object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkDataListType(ChunkDataListType object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkDataListTypeLabel(ChunkDataListTypeLabel object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkDataListTypeLabeledText(ChunkDataListTypeLabeledText object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkDataListTypeNote(ChunkDataListTypeNote object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkFact(ChunkFact object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkFormat(ChunkFormat object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkInstrument(ChunkInstrument object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkPlayList(ChunkPlayList object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkSampler(ChunkSampler object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkSilent(ChunkSilent object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkUnknown(ChunkUnknown object)
object
- the target of the switch.doSwitch(EObject)
public T caseChunkWaveList(ChunkWaveList object)
object
- the target of the switch.doSwitch(EObject)
public T caseCuePoint(CuePoint object)
object
- the target of the switch.doSwitch(EObject)
public T caseParseChunkException(ParseChunkException object)
object
- the target of the switch.doSwitch(EObject)
public T caseSampleData(SampleData object)
object
- the target of the switch.doSwitch(EObject)
public T caseSampleData8Bit(SampleData8Bit object)
object
- the target of the switch.doSwitch(EObject)
public T caseSampleData16Bit(SampleData16Bit object)
object
- the target of the switch.doSwitch(EObject)
public T caseSampleLoop(SampleLoop object)
object
- the target of the switch.doSwitch(EObject)
public T caseSegment(Segment object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
object
- the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)