ua.gradsoft.termware
Interface IPrinterFactory
- All Known Subinterfaces:
- IPrettyPrinterFactory
- All Known Implementing Classes:
- TermWarePrinterFactory
public interface IPrinterFactory
IPrinterFactory: way of creating pluggable interfaces to custom
term outers (printers).
user must register class, which implements this interface via
call of TermWareSingleton.addPrinter(languageName, className).
After this in TermWare language term printFile(t,languageName,[filename])
will be reduce to t and term
t
will be printed
by instance of IPrinter created by factory className
createPrinter
IPrinter createPrinter(PrintWriter out,
String outTag,
TermSystem sys,
Term arg)
throws TermWareException
- create printer object.
- Throws:
TermWareException