
org.daisy.pipeline.tts.AbstractTTSService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tts-common Show documentation
Show all versions of tts-common Show documentation
Common API for TTS functionality and utility Java functions and XProc steps
package org.daisy.pipeline.tts;
import java.net.URL;
import org.osgi.service.component.ComponentContext;
public abstract class AbstractTTSService implements TTSService {
@Override
public String getVersion() {
return "";
}
protected void loadSSMLadapter(ComponentContext context) {
mXSLTresource = context.getBundleContext().getBundle().getEntry("/transform-ssml.xsl");
}
@Override
public URL getSSMLxslTransformerURL() {
return mXSLTresource;
}
protected URL mXSLTresource;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy