|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.filter.osis.OSISFilter
public class OSISFilter
Filter to convert an OSIS XML string to OSIS format.
for license details.
The copyright to this program is held by it's authors.
Field Summary | |
---|---|
private static org.slf4j.Logger |
log
The log stream |
private java.util.concurrent.BlockingQueue<org.jdom2.input.SAXBuilder> |
saxBuilders
|
Constructor Summary | |
---|---|
OSISFilter()
|
Method Summary | |
---|---|
private org.jdom2.Element |
cleanTags(Book book,
Key key,
String plain)
|
OSISFilter |
clone()
This needs to be declared here so that it is visible as a method on a derived Filter. |
private org.jdom2.Element |
parse(String plain)
If the string is invalid then we might want to have more than one crack at parsing it |
List<org.jdom2.Content> |
toOSIS(Book book,
Key key,
String plain)
Converter from plain (encoded) text to OSIS data |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.concurrent.BlockingQueue<org.jdom2.input.SAXBuilder> saxBuilders
private static final org.slf4j.Logger log
Constructor Detail |
---|
public OSISFilter()
Method Detail |
---|
public List<org.jdom2.Content> toOSIS(Book book, Key key, String plain)
Filter
toOSIS
in interface Filter
key
- The key for the textplain
- The encoded text
public OSISFilter clone()
Filter
clone
in interface Filter
clone
in class Object
private org.jdom2.Element cleanTags(Book book, Key key, String plain)
private org.jdom2.Element parse(String plain) throws org.jdom2.JDOMException, IOException
org.jdom2.JDOMException
IOException
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |