public class ConfigurableSwingConverter extends Object implements org.crosswire.common.xml.Converter
for license details.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ConfigurableSwingConverter.XSLTFilter |
Modifier and Type | Field and Description |
---|---|
private static String |
font
The font to be used in OSIS->HTML generation
|
private static String |
style
The stylesheet we are transforming using
|
Constructor and Description |
---|
ConfigurableSwingConverter() |
Modifier and Type | Method and Description |
---|---|
org.crosswire.common.xml.SAXEventProvider |
convert(org.crosswire.common.xml.SAXEventProvider xmlsep) |
static String |
getFont()
Accessor for the stylesheet we are transforming using
|
static String |
getResourceName()
Accessor for the stylesheet we are transforming using
|
String[] |
getStyles()
Get an array of the available style names for a given subject.
|
static void |
setFont(String font)
Accessor for the stylesheet we are transforming using
|
static void |
setResourceName(String style)
Accessor for the stylesheet we are transforming using
|
static Font |
toFont()
Accessor for the stylesheet we are transforming using
|
private static String font
private static String style
public String[] getStyles()
If the protocol of the URL of the current directory is not file then we can't use File.list to get the contents of the directory. This will happen if this is being run as an applet. When we start doing that then we will need to think up something smarter here. Until then we just return a zero length array.
public org.crosswire.common.xml.SAXEventProvider convert(org.crosswire.common.xml.SAXEventProvider xmlsep) throws TransformerException
convert
in interface org.crosswire.common.xml.Converter
TransformerException
public static String getFont()
public static Font toFont()
public static void setFont(String font)
public static String getResourceName()
public static void setResourceName(String style)