Skip navigation links
B C F G H I O P R T V W 

B

build() - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Build a document factory instance.
build(String) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Build a document factory instance using the provided custom license file.
build(String, String) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Build a document factory instance using the provided license information.
builder() - Static method in class hr.ngs.templater.Configuration
To specify custom plugins, initialize document factory with a builder.
builtInFormatters(boolean) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Templater has a lot of builtin formatters (such as format, substring, ...) While they can be overridden, if there is no use for them, they can be excluded from use
builtInHandlers(boolean) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Templater has few builtin handlers (such as collapse).

C

clone(int) - Method in interface hr.ngs.templater.ITemplater
Clones a document.
Configuration - Class in hr.ngs.templater
Public entry point.
configure(String) - Static method in class hr.ngs.templater.Configuration
Create an instance of a document factory using the provided custom license file.
configure(String, String) - Static method in class hr.ngs.templater.Configuration
Create an instance of a document factory using the provided license information.

F

factory() - Static method in class hr.ngs.templater.Configuration
Create an instance of a document factory.
flush() - Method in interface hr.ngs.templater.ITemplateDocument
Flushes current changes to output stream.
format(Object, String) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder.IFormatter
If a plugin is applicable (based on the provided metadata) return converted object value otherwise just return provided value.

G

getMetadata(String, boolean) - Method in interface hr.ngs.templater.ITemplater
Metadata for each specific tag.
getMetadata(String, int) - Method in interface hr.ngs.templater.ITemplater
Since there can be multiple tags with same id, metadata for each specific tag in sequence can be obtained by passing in its index.

H

handle(Object, String, String, ITemplater) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder.IHandler
If a plugin is applicable (based on the provided metadata) return converted object value otherwise just return provided value.
hr.ngs.templater - package hr.ngs.templater
 

I

IDocumentFactory - Interface in hr.ngs.templater
Creates template document interface
IDocumentFactoryBuilder - Interface in hr.ngs.templater
Templater document factory builder.
IDocumentFactoryBuilder.IFormatter - Interface in hr.ngs.templater
Plugin signature for formatting values.
IDocumentFactoryBuilder.IHandler - Interface in hr.ngs.templater
Plugin signature for formatting values.
IDocumentFactoryBuilder.ILowLevelReplacer - Interface in hr.ngs.templater
Register a new Low Level replacer plugin.
IDocumentFactoryBuilder.IProcessor<T> - Interface in hr.ngs.templater
Plugin signature for a data type handler.
IDocumentFactoryBuilder.IUnprocessedTagsHandler - Interface in hr.ngs.templater
Register a new unprocessed tags plugin.
IDocumentFactoryBuilder.TagPattern - Enum in hr.ngs.templater
Supported tag patterns
include(IDocumentFactoryBuilder.IFormatter) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Register a new formatter plugin.
include(IDocumentFactoryBuilder.IHandler) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Register a new metadata handler plugin.
include(Class<T>, IDocumentFactoryBuilder.IProcessor<T>) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Register a new processor plugin.
include(IDocumentFactoryBuilder.ILowLevelReplacer) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
When input values must be replaced before and there is not appropriate metadata.
ITemplateDocument - Interface in hr.ngs.templater
Template document with analyzed tags.
ITemplater - Interface in hr.ngs.templater
Provides access to low level API.

O

onUnprocessed(String, ITemplater, String[], Object) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder.IUnprocessedTagsHandler
Customize behavior for unprocessed tags - tags which did not match input data.
onUnprocessed(IDocumentFactoryBuilder.IUnprocessedTagsHandler) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Specify custom behavior for tags which were left after processing.
open(String) - Method in interface hr.ngs.templater.IDocumentFactory
Templater will recognize the appropriate document format from the file extension.
open(InputStream, String, OutputStream) - Method in interface hr.ngs.templater.IDocumentFactory
Opens a document from the specified stream.

P

process(T) - Method in interface hr.ngs.templater.ITemplateDocument
Modifies document according to rules for specified data type.

R

replace(Object) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder.ILowLevelReplacer
A custom plugin can be registered behind the Templater ITemplater.replace API It will be invoked for every replace invocation.
replace(String, Object) - Method in interface hr.ngs.templater.ITemplater
Replace first specified tag with provided value.
replace(String, int, Object) - Method in interface hr.ngs.templater.ITemplater
Replace tag at the index in the sequence of same tag names with provided value.
resize(String[], int) - Method in interface hr.ngs.templater.ITemplater
Resize context which contains all specified tags.
resizeLimit(int) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Maximum number of times same tag can be resized.

T

tags() - Method in interface hr.ngs.templater.ITemplater
Recognized tags in the document.
templater() - Method in interface hr.ngs.templater.ITemplateDocument
Provides access to the low level API.
toString() - Method in enum hr.ngs.templater.IDocumentFactoryBuilder.TagPattern
 
tryProcess(String, ITemplater, T) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder.IProcessor
A custom processor can be registered for specialized data types.

V

valueOf(String) - Static method in enum hr.ngs.templater.IDocumentFactoryBuilder.TagPattern
Returns the enum constant of this type with the specified name.
values() - Static method in enum hr.ngs.templater.IDocumentFactoryBuilder.TagPattern
Returns an array containing the constants of this enum type, in the order they are declared.

W

withJavaBeans(boolean) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
During class analysis, bean convention can be used.
withMatcher(String) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Customize tag matcher for all patterns.
withMatcher(String, IDocumentFactoryBuilder.TagPattern) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Customize tag matcher for a specific pattern.
B C F G H I O P R T V W 
Skip navigation links