public class TagliatellePDFContentHandler extends TagliatelleContentHandler
This handler expects tagliatelle as template language which must generate a valid XHTML output. This is post processed by flying saucer to generate a PDF file. The name of this handler is pdf-pasta the expected file extension is .pdf.pasta.
| Modifier and Type | Field and Description |
|---|---|
static String |
PDF_PASTA
Contains the name (type) of this handler
|
PASTA| Constructor and Description |
|---|
TagliatellePDFContentHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(Generator generator,
OutputStream out)
Generates the appropriate output if the settings of the generator match.
|
int |
getPriority() |
getTemplatepublic static final String PDF_PASTA
public boolean generate(Generator generator, OutputStream out) throws Exception
ContentHandlergenerate in interface ContentHandlergenerate in class TagliatelleContentHandlergenerator - the generate settings given by the callerout - the output stream used to write the generated content toException - if an error occurs while generating contentpublic int getPriority()
getPriority in interface sirius.kernel.di.std.PriorizedgetPriority in class TagliatelleContentHandlerCopyright © 2018. All rights reserved.