|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.axsl.speech.SpeechUtility
public final class SpeechUtility
Class containing speech-related utility methods.
References to CSS2 are to the Cascading Style Sheet standard, version 2.0, found at:
http://www.w3.org/TR/REC-CSS2/
References to XSL-FO refer to the eXtensible Stylesheet Language Formatting Objects standard, version 1.0, found at:
http://www.w3.org/TR/2001/REC-xsl-20011015/
Field Summary | |
---|---|
static java.lang.String[] |
EMPTY_STRING_ARRAY
An array of Strings with zero elements, useful especially as a return value. |
static java.lang.String |
INPUT_INVALID
String value for invalid input. |
Method Summary | |
---|---|
static java.lang.String[] |
cssVoiceFamily(java.lang.String input)
Converts a CSS2-style String input for voice-family into a value expected by SpeechServer.selectVoiceCss(String[]) . |
static java.lang.String[] |
foVoiceFamily(java.lang.String input)
Same as cssVoiceFamily(String) , except input is an
XSL-FO-style String. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INPUT_INVALID
public static final java.lang.String[] EMPTY_STRING_ARRAY
Method Detail |
---|
public static java.lang.String[] cssVoiceFamily(java.lang.String input)
SpeechServer.selectVoiceCss(String[])
.
input
- The CSS2-style voice-family String to be converted.
This is a comma-delimited String containing one or more potential
voice-family items to be selected. Consult the CSS2 standard for
details.
SpeechServer.selectVoiceCss(String[])
public static java.lang.String[] foVoiceFamily(java.lang.String input)
cssVoiceFamily(String)
, except input is an
XSL-FO-style String.
input
- The XSL-FO voice-family String to be converted.
This is a comma-delimited String containing one or more potential
voice-family items to be selected. Consult the XSL-FO standard for
details.
cssVoiceFamily(String)
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.