Uses of Interface
org.nekosoft.pdffer.template.PdfTemplate
Package
Description
This package is used for PDFfer PDF templates.
-
Uses of PdfTemplate in org.nekosoft.pdffer.exception
Modifier and TypeMethodDescriptionClass<? extends PdfTemplate>
InvalidTemplateClassException.getActualTemplateClass()
Gets the actual class of the template being used.Class<? extends PdfTemplate>
InvalidTemplateClassException.getExpectedTemplateClass()
Gets the expected superclass of templates that can be used.ModifierConstructorDescriptionInvalidTemplateClassException(Class<? extends PdfTemplate> actualTemplateClass, Class<? extends PdfTemplate> expectedTemplateClass)
Creates a new instance. -
Uses of PdfTemplate in org.nekosoft.pdffer.registry
Modifier and TypeMethodDescriptionPdfTemplate<?>
PdfferRegistryBean.findTemplate(String templateName)
Finds a PDF template in the root registry given the name.PdfTemplate<?>
PdfferRegistryBean.findTemplate(String group, String templateName)
Finds a PDF template in the given group with the given name.PdfTemplate<?>
PdfferRegistryBean.findTemplateByPath(String templatePath)
Finds a PDF template given the template path. -
Uses of PdfTemplate in org.nekosoft.pdffer.template
Modifier and TypeClassDescriptionclass
An abstract template that works with JSON based payloads and tries to turn them into the payload class that the template can handle.Modifier and TypeMethodDescriptionstatic String
PdfTemplate.getTemplatePath(PdfTemplate<?> template)
Returns the template path string for the given template.static String
PdfTemplate.templateToString(PdfTemplate<?> template)
Returns a string representation of a PDF template. -
Uses of PdfTemplate in org.nekosoft.PDFferTemplates
Modifier and TypeClassDescriptionclass
A very basic template for PDFfer that takes a java Map of String to Object and prints it out in table form with the key name and corresponding value in each row. -
Uses of PdfTemplate in org.nekosoft.PDFferTemplates.invoice
Modifier and TypeClassDescriptionclass
A template for PDFfer that takes anInvoiceData
instance as payload and generates a PDF invoice document from it.