org.teleal.lemma.processor
Class AbstractProcessor<IN,OUT>
java.lang.Object
org.teleal.lemma.processor.AbstractProcessor<IN,OUT>
- All Implemented Interfaces:
- Processor<IN,OUT>
- Direct Known Subclasses:
- AbstractJavadocProcessor, TocProcessor, XRefProcessor
public abstract class AbstractProcessor<IN,OUT>
- extends Object
- implements Processor<IN,OUT>
Encapsulates common processor functionality.
Also provides a mapping from citation anchor to Reader
instance. For example, a citation anchor which addresses a text file is mapped to the
text reader. You can not extend this built-in mapping, however, you can name your custom
Reader class in a citation anchor with the reader
style key.
- Author:
- Christian Bauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READER_SUFFIX_MAP
protected final Map<String,Class<? extends Reader>> READER_SUFFIX_MAP
AbstractProcessor
protected AbstractProcessor()
getParser
public org.teleal.common.xhtml.XHTMLParser getParser()
getXPath
public XPath getXPath()
getReader
public Reader getReader(CitationAnchor citation)
Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.