Package io.github.erdos.stencil.impl
Class NativeTemplateFactory
- java.lang.Object
-
- io.github.erdos.stencil.impl.NativeTemplateFactory
-
- All Implemented Interfaces:
TemplateFactory
public final class NativeTemplateFactory extends java.lang.Object implements TemplateFactory
-
-
Constructor Summary
Constructors Constructor Description NativeTemplateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreparedFragment
prepareFragmentFile(java.io.File fragmentFile, PrepareOptions options)
PreparedTemplate
prepareTemplateFile(java.io.File inputTemplateFile, PrepareOptions options)
Preprocesses a raw template file.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.erdos.stencil.TemplateFactory
prepareTemplateFile
-
-
-
-
Method Detail
-
prepareTemplateFile
public PreparedTemplate prepareTemplateFile(java.io.File inputTemplateFile, PrepareOptions options)
Description copied from interface:TemplateFactory
Preprocesses a raw template file.- Specified by:
prepareTemplateFile
in interfaceTemplateFactory
- Parameters:
inputTemplateFile
- raw template file of known type.options
- template preparation options.- Returns:
- preprocessed template file
-
prepareFragmentFile
public PreparedFragment prepareFragmentFile(java.io.File fragmentFile, PrepareOptions options)
-
-