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.
RIFFWavepublic 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.
Channelpublic 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.
Chunkpublic 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.
ChunkCuepublic 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.
ChunkDatapublic 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.
ChunkDataListpublic 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.
ChunkDataListTypepublic 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.
ChunkDataListTypeLabelpublic 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.
ChunkDataListTypeLabeledTextpublic 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.
ChunkDataListTypeNotepublic 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.
ChunkFactpublic 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.
ChunkFormatpublic 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.
ChunkInstrumentpublic 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.
ChunkPlayListpublic 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.
ChunkSamplerpublic 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.
ChunkSilentpublic 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.
ChunkUnknownpublic 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.
ChunkWaveListpublic 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.
CuePointpublic 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.
ParseChunkExceptionpublic 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.
SampleDatapublic 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.
SampleData8Bitpublic 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.
SampleData16Bitpublic 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.
SampleLooppublic 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.
Segmentpublic Adapter createEObjectAdapter()