4.1.0.610 20071213

ch.ecma.csta.binding
Class SynthesizeMessage

java.lang.Object
  extended by ch.ecma.csta.CastorObject
      extended by ch.ecma.csta.binding.SynthesizeMessage
All Implemented Interfaces:
java.io.Serializable

public class SynthesizeMessage
extends ch.ecma.csta.CastorObject
implements java.io.Serializable

This request is not supported.

Constructs a voice message from a text message.

This service returns the Message Identifier of the constructed message in the positive acknowledgement.

The Synthesize Message service is a "text to speech" function.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
SynthesizeMessage()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 ControlData getControl()
          Returns the value of field 'control'.
 CSTACommonArguments getExtensions()
          Returns the value of field 'extensions'.
 java.lang.String getTextToBeSynthesized()
          Returns the value of field 'textToBeSynthesized'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setControl(ControlData control)
          Sets the value of field 'control'.
 void setExtensions(CSTACommonArguments extensions)
          Sets the value of field 'extensions'.
 void setTextToBeSynthesized(java.lang.String textToBeSynthesized)
          Sets the value of field 'textToBeSynthesized'.
static SynthesizeMessage unmarshalSynthesizeMessage(java.io.Reader reader)
          Method unmarshalSynthesizeMessage
 void validate()
          Method validate
 
Methods inherited from class ch.ecma.csta.CastorObject
getOldSessionID, hashCode, setOldSessionID, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SynthesizeMessage

public SynthesizeMessage()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class ch.ecma.csta.CastorObject
Parameters:
obj -
Returns:
boolean

getControl

public ControlData getControl()
Returns the value of field 'control'. The field 'control' has the following description: Specifies the control information to be used in construction the voice message. Optional.

This includes the following:

Returns:
ControlData

getExtensions

public CSTACommonArguments getExtensions()
Returns the value of field 'extensions'.

Returns:
CSTACommonArguments

getTextToBeSynthesized

public java.lang.String getTextToBeSynthesized()
Returns the value of field 'textToBeSynthesized'. The field 'textToBeSynthesized' has the following description: Specifies the text to be converted to voice. Mandatory.

Returns:
String

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setControl

public void setControl(ControlData control)
Sets the value of field 'control'. The field 'control' has the following description: Specifies the control information to be used in construction the voice message. Optional.

This includes the following:

Parameters:
control - the value of field 'control'.

setExtensions

public void setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'.

Parameters:
extensions - the value of field 'extensions'.

setTextToBeSynthesized

public void setTextToBeSynthesized(java.lang.String textToBeSynthesized)
Sets the value of field 'textToBeSynthesized'. The field 'textToBeSynthesized' has the following description: Specifies the text to be converted to voice. Mandatory.

Parameters:
textToBeSynthesized - the value of field 'textToBeSynthesized'.

unmarshalSynthesizeMessage

public static SynthesizeMessage unmarshalSynthesizeMessage(java.io.Reader reader)
                                                    throws org.exolab.castor.xml.MarshalException,
                                                           org.exolab.castor.xml.ValidationException
Method unmarshalSynthesizeMessage

Parameters:
reader -
Returns:
SynthesizeMessage
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

4.1.0.610 20071213

Copyright 2004 Avaya Inc All Rights Reserved.