public class ConfigReader extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfigReader.Extension |
protected static class |
ConfigReader.TTSConfigProperty |
| Constructor and Description |
|---|
ConfigReader(net.sf.saxon.s9api.Processor saxonproc,
ConfigReader.Extension... extensions) |
ConfigReader(net.sf.saxon.s9api.Processor saxonproc,
net.sf.saxon.s9api.XdmNode doc,
ConfigReader.Extension... extensions) |
ConfigReader(net.sf.saxon.s9api.Processor saxonproc,
net.sf.saxon.s9api.XdmNode doc,
Map<String,String> properties,
ConfigReader.Extension... extensions) |
| Modifier and Type | Method and Description |
|---|---|
protected net.sf.saxon.s9api.XdmNode |
parseXML(String url)
Read document from URL.
|
protected net.sf.saxon.s9api.XdmNode |
parseXML(String url,
URI base)
Read document from URL within TTS configuration document.
|
public ConfigReader(net.sf.saxon.s9api.Processor saxonproc,
ConfigReader.Extension... extensions)
public ConfigReader(net.sf.saxon.s9api.Processor saxonproc,
net.sf.saxon.s9api.XdmNode doc,
ConfigReader.Extension... extensions)
public ConfigReader(net.sf.saxon.s9api.Processor saxonproc,
net.sf.saxon.s9api.XdmNode doc,
Map<String,String> properties,
ConfigReader.Extension... extensions)
protected net.sf.saxon.s9api.XdmNode parseXML(String url, URI base)
url - The URL to read from. If relative, it is resolved
against the base URI of the configuration document.base - The base URI of the configuration document.protected net.sf.saxon.s9api.XdmNode parseXML(String url)
url - The URL to read from. If relative, it is resolved
against the current directory.Copyright © 2010–2025 The DAISY Consortium. All rights reserved.