|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.bibledesktop.util.ConfigurableSwingConverter
public class ConfigurableSwingConverter
Turn XML from a Bible into HTML according to a Display style.
for license details.
The copyright to this program is held by it's authors.
Nested Class Summary | |
---|---|
(package private) static class |
ConfigurableSwingConverter.XSLTFilter
|
Field Summary | |
---|---|
private static String |
font
The font to be used in OSIS->HTML generation |
private static String |
style
The stylesheet we are transforming using |
Constructor Summary | |
---|---|
ConfigurableSwingConverter()
|
Method Summary | |
---|---|
SAXEventProvider |
convert(SAXEventProvider xmlsep)
Convert one SAX stream into another. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static String font
private static String style
Constructor Detail |
---|
public ConfigurableSwingConverter()
Method Detail |
---|
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 SAXEventProvider convert(SAXEventProvider xmlsep) throws TransformerException
Converter
convert
in interface Converter
xmlsep
- The source stream
TransformerException
- If the transformation can't be completedpublic static String getFont()
public static Font toFont()
public static void setFont(String font)
public static String getResourceName()
public static void setResourceName(String style)
|
Copyright ยจ 2003-2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |