public class WavAdapterFactory
extends AdapterFactoryImpl
createXXX
method for each class of the model.
WavPackage
Modifier and Type | Field and Description |
---|---|
protected static WavPackage |
modelPackage
The cached model package.
|
protected WavSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
Constructor and Description |
---|
WavAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createChannelAdapter()
Creates a new adapter for an object of class '
Channel '. |
Adapter |
createChunkAdapter()
Creates a new adapter for an object of class '
Chunk '. |
Adapter |
createChunkCueAdapter()
Creates a new adapter for an object of class '
Chunk Cue '. |
Adapter |
createChunkDataAdapter()
Creates a new adapter for an object of class '
Chunk Data '. |
Adapter |
createChunkDataListAdapter()
Creates a new adapter for an object of class '
Chunk Data List '. |
Adapter |
createChunkDataListTypeAdapter()
Creates a new adapter for an object of class '
Chunk Data List Type '. |
Adapter |
createChunkDataListTypeLabelAdapter()
Creates a new adapter for an object of class '
Chunk Data List Type Label '. |
Adapter |
createChunkDataListTypeLabeledTextAdapter()
Creates a new adapter for an object of class '
Chunk Data List Type Labeled Text '. |
Adapter |
createChunkDataListTypeNoteAdapter()
Creates a new adapter for an object of class '
Chunk Data List Type Note '. |
Adapter |
createChunkFactAdapter()
Creates a new adapter for an object of class '
Chunk Fact '. |
Adapter |
createChunkFormatAdapter()
Creates a new adapter for an object of class '
Chunk Format '. |
Adapter |
createChunkInstrumentAdapter()
Creates a new adapter for an object of class '
Chunk Instrument '. |
Adapter |
createChunkPlayListAdapter()
Creates a new adapter for an object of class '
Chunk Play List '. |
Adapter |
createChunkSamplerAdapter()
Creates a new adapter for an object of class '
Chunk Sampler '. |
Adapter |
createChunkSilentAdapter()
Creates a new adapter for an object of class '
Chunk Silent '. |
Adapter |
createChunkUnknownAdapter()
Creates a new adapter for an object of class '
Chunk Unknown '. |
Adapter |
createChunkWaveListAdapter()
Creates a new adapter for an object of class '
Chunk Wave List '. |
Adapter |
createCuePointAdapter()
Creates a new adapter for an object of class '
Cue Point '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createParseChunkExceptionAdapter()
Creates a new adapter for an object of class '
Parse Chunk Exception '. |
Adapter |
createRIFFWaveAdapter()
Creates a new adapter for an object of class '
RIFF Wave '. |
Adapter |
createSampleData16BitAdapter()
Creates a new adapter for an object of class '
Sample Data16 Bit '. |
Adapter |
createSampleData8BitAdapter()
Creates a new adapter for an object of class '
Sample Data8 Bit '. |
Adapter |
createSampleDataAdapter()
Creates a new adapter for an object of class '
Sample Data '. |
Adapter |
createSampleLoopAdapter()
Creates a new adapter for an object of class '
Sample Loop '. |
Adapter |
createSegmentAdapter()
Creates a new adapter for an object of class '
Segment '. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static WavPackage modelPackage
protected WavSwitch<Adapter> modelSwitch
createXXX
methods.
public WavAdapterFactory()
public boolean isFactoryForType(java.lang.Object object)
true
if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target
.
target
- the object to adapt.target
.public Adapter createRIFFWaveAdapter()
RIFF Wave
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
RIFFWave
public Adapter createChannelAdapter()
Channel
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Channel
public Adapter createChunkAdapter()
Chunk
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Chunk
public Adapter createChunkCueAdapter()
Chunk Cue
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkCue
public Adapter createChunkDataAdapter()
Chunk Data
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkData
public Adapter createChunkDataListAdapter()
Chunk Data List
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkDataList
public Adapter createChunkDataListTypeAdapter()
Chunk Data List Type
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkDataListType
public Adapter createChunkDataListTypeLabelAdapter()
Chunk Data List Type Label
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkDataListTypeLabel
public Adapter createChunkDataListTypeLabeledTextAdapter()
Chunk Data List Type Labeled Text
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkDataListTypeLabeledText
public Adapter createChunkDataListTypeNoteAdapter()
Chunk Data List Type Note
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkDataListTypeNote
public Adapter createChunkFactAdapter()
Chunk Fact
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkFact
public Adapter createChunkFormatAdapter()
Chunk Format
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkFormat
public Adapter createChunkInstrumentAdapter()
Chunk Instrument
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkInstrument
public Adapter createChunkPlayListAdapter()
Chunk Play List
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkPlayList
public Adapter createChunkSamplerAdapter()
Chunk Sampler
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkSampler
public Adapter createChunkSilentAdapter()
Chunk Silent
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkSilent
public Adapter createChunkUnknownAdapter()
Chunk Unknown
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkUnknown
public Adapter createChunkWaveListAdapter()
Chunk Wave List
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ChunkWaveList
public Adapter createCuePointAdapter()
Cue Point
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CuePoint
public Adapter createParseChunkExceptionAdapter()
Parse Chunk Exception
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
ParseChunkException
public Adapter createSampleDataAdapter()
Sample Data
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
SampleData
public Adapter createSampleData8BitAdapter()
Sample Data8 Bit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
SampleData8Bit
public Adapter createSampleData16BitAdapter()
Sample Data16 Bit
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
SampleData16Bit
public Adapter createSampleLoopAdapter()
Sample Loop
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
SampleLoop
public Adapter createSegmentAdapter()
Segment
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Segment
public Adapter createEObjectAdapter()