Class SoundActionType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ActionEventType
-
- net.webpdf.wsclient.schema.operation.SoundActionType
-
public class SoundActionType extends ActionEventType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">When activated, the playSound Element plays the specified audio data.</p>
Java class for SoundActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SoundActionType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}ActionEventType"> <all> <element name="sound" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> </all> <attribute name="volume" default="100"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="-100"/> <maxInclusive value="100"/> </restriction> </simpleType> </attribute> <attribute name="synchronous" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="repeat" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="mix" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="samplingRate" default="8000"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="soundChannels" default="1"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="sampleSize" default="8"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="encoding" type="{http://schema.webpdf.de/1.0/operation}AudioEncodingType" default="Raw" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AudioEncodingTypeencodingprotected Booleanmixprotected Booleanrepeatprotected IntegersampleSizeprotected FloatsamplingRateprotected byte[]soundprotected IntegersoundChannelsprotected Booleansynchronousprotected Integervolume
-
Constructor Summary
Constructors Constructor Description SoundActionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioEncodingTypegetEncoding()Gets the value of the encoding property.intgetSampleSize()Gets the value of the sampleSize property.floatgetSamplingRate()Gets the value of the samplingRate property.byte[]getSound()Gets the value of the sound property.intgetSoundChannels()Gets the value of the soundChannels property.intgetVolume()Gets the value of the volume property.booleanisMix()Gets the value of the mix property.booleanisRepeat()Gets the value of the repeat property.booleanisSetEncoding()booleanisSetMix()booleanisSetRepeat()booleanisSetSampleSize()booleanisSetSamplingRate()booleanisSetSound()booleanisSetSoundChannels()booleanisSetSynchronous()booleanisSetVolume()booleanisSynchronous()Gets the value of the synchronous property.voidsetEncoding(AudioEncodingType value)Sets the value of the encoding property.voidsetMix(boolean value)Sets the value of the mix property.voidsetRepeat(boolean value)Sets the value of the repeat property.voidsetSampleSize(int value)Sets the value of the sampleSize property.voidsetSamplingRate(float value)Sets the value of the samplingRate property.voidsetSound(byte[] value)Sets the value of the sound property.voidsetSoundChannels(int value)Sets the value of the soundChannels property.voidsetSynchronous(boolean value)Sets the value of the synchronous property.voidsetVolume(int value)Sets the value of the volume property.voidunsetMix()voidunsetRepeat()voidunsetSampleSize()voidunsetSamplingRate()voidunsetSoundChannels()voidunsetSynchronous()voidunsetVolume()
-
-
-
Field Detail
-
sound
protected byte[] sound
-
volume
protected Integer volume
-
synchronous
protected Boolean synchronous
-
repeat
protected Boolean repeat
-
mix
protected Boolean mix
-
samplingRate
protected Float samplingRate
-
soundChannels
protected Integer soundChannels
-
sampleSize
protected Integer sampleSize
-
encoding
protected AudioEncodingType encoding
-
-
Method Detail
-
getSound
public byte[] getSound()
Gets the value of the sound property.- Returns:
- possible object is byte[]
-
setSound
public void setSound(byte[] value)
Sets the value of the sound property.- Parameters:
value- allowed object is byte[]
-
isSetSound
public boolean isSetSound()
-
getVolume
public int getVolume()
Gets the value of the volume property.- Returns:
- possible object is
Integer
-
setVolume
public void setVolume(int value)
Sets the value of the volume property.- Parameters:
value- allowed object isInteger
-
isSetVolume
public boolean isSetVolume()
-
unsetVolume
public void unsetVolume()
-
isSynchronous
public boolean isSynchronous()
Gets the value of the synchronous property.- Returns:
- possible object is
Boolean
-
setSynchronous
public void setSynchronous(boolean value)
Sets the value of the synchronous property.- Parameters:
value- allowed object isBoolean
-
isSetSynchronous
public boolean isSetSynchronous()
-
unsetSynchronous
public void unsetSynchronous()
-
isRepeat
public boolean isRepeat()
Gets the value of the repeat property.- Returns:
- possible object is
Boolean
-
setRepeat
public void setRepeat(boolean value)
Sets the value of the repeat property.- Parameters:
value- allowed object isBoolean
-
isSetRepeat
public boolean isSetRepeat()
-
unsetRepeat
public void unsetRepeat()
-
isMix
public boolean isMix()
Gets the value of the mix property.- Returns:
- possible object is
Boolean
-
setMix
public void setMix(boolean value)
Sets the value of the mix property.- Parameters:
value- allowed object isBoolean
-
isSetMix
public boolean isSetMix()
-
unsetMix
public void unsetMix()
-
getSamplingRate
public float getSamplingRate()
Gets the value of the samplingRate property.- Returns:
- possible object is
Float
-
setSamplingRate
public void setSamplingRate(float value)
Sets the value of the samplingRate property.- Parameters:
value- allowed object isFloat
-
isSetSamplingRate
public boolean isSetSamplingRate()
-
unsetSamplingRate
public void unsetSamplingRate()
-
getSoundChannels
public int getSoundChannels()
Gets the value of the soundChannels property.- Returns:
- possible object is
Integer
-
setSoundChannels
public void setSoundChannels(int value)
Sets the value of the soundChannels property.- Parameters:
value- allowed object isInteger
-
isSetSoundChannels
public boolean isSetSoundChannels()
-
unsetSoundChannels
public void unsetSoundChannels()
-
getSampleSize
public int getSampleSize()
Gets the value of the sampleSize property.- Returns:
- possible object is
Integer
-
setSampleSize
public void setSampleSize(int value)
Sets the value of the sampleSize property.- Parameters:
value- allowed object isInteger
-
isSetSampleSize
public boolean isSetSampleSize()
-
unsetSampleSize
public void unsetSampleSize()
-
getEncoding
public AudioEncodingType getEncoding()
Gets the value of the encoding property.- Returns:
- possible object is
AudioEncodingType
-
setEncoding
public void setEncoding(AudioEncodingType value)
Sets the value of the encoding property.- Parameters:
value- allowed object isAudioEncodingType
-
isSetEncoding
public boolean isSetEncoding()
-
-