|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jeuclid.app.foprep.Processor
public final class Processor
Contains the actual processing routines.
To use this class obtain an instance of the Processor singleton instance.
Then use the process(Source, Result) function to process your
Document.
This will replace all occurrences of MathML within fo:instream tags by the equivalent SVG code. It will also add a baseline-shift attribute so that the formula is in line with the rest of the text.
| Method Summary | |
|---|---|
static Processor |
getProcessor()
Retrieve the processor singleton object. |
void |
process(Source inputSource,
Result result)
Pre-process a .fo file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Processor getProcessor()
throws TransformerException
TransformerException - an error occurred creating the necessary Transformer
instance.
public void process(Source inputSource,
Result result)
throws TransformerException
inputSource - Input Fileresult - Output File
TransformerException - an error occurred during the processing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||