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

B

blacklist(Method) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
To disable navigation over certain methods blacklisting can be used.
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.
build() - Method in class hr.ngs.templater.ImageInfo.Builder
Create an ImageInfo object from the builder.
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).
builtInLowLevelPlugins(boolean) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Templater has few builtin low level plugins (such as BufferedImage and ImageInputStream on Java) If those classes are not available (as in case of Android) plugins should be disabled.

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.
content - Variable in class hr.ngs.templater.ImageInfo
Image content as stored on disk
convert(Document) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder.SvgConverter
Convert SVG XML into Templater image format.

E

extension(String) - Method in class hr.ngs.templater.ImageInfo.Builder
Specifying image extension, eg: png, jpg,...
extension - Variable in class hr.ngs.templater.ImageInfo
Extension to use (eg: png, gif, jpg,...)

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.
from(byte[]) - Static method in class hr.ngs.templater.ImageInfo
ImageInfo builder from byte array
from(InputStream) - Static method in class hr.ngs.templater.ImageInfo
ImageInfo builder from a stream.

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.
height(int) - Method in class hr.ngs.templater.ImageInfo.Builder
Specifying image height.
height - Variable in class hr.ngs.templater.ImageInfo
Height of the image, eg: 400
horizontalResolution - Variable in class hr.ngs.templater.ImageInfo
Horizontal DPI of the image, eg: 96
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.SvgConverter - Interface in hr.ngs.templater
Conversion function.
IDocumentFactoryBuilder.TagPattern - Enum in hr.ngs.templater
Supported tag patterns
ImageInfo - Class in hr.ngs.templater
Special image type.
ImageInfo(byte[], String, int, int, float) - Constructor for class hr.ngs.templater.ImageInfo
Basic ImageInfo constructor with same horizontal and vertical DPI
ImageInfo(byte[], String, int, float, int, float) - Constructor for class hr.ngs.templater.ImageInfo
Full ImageInfo constructor where horizontal and vertical DPI can be different
ImageInfo.Builder - Class in hr.ngs.templater
ImageInfo builder for easier initialization.
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, String, String[]) - 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.
resolution(float) - Method in class hr.ngs.templater.ImageInfo.Builder
Image resolution (DPI).

S

streaming(int) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Configure the streaming size.
svgConverter(IDocumentFactoryBuilder.SvgConverter) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
When adding SVG into documents, use additional converter for fallback image.

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.
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.
verticalResolution - Variable in class hr.ngs.templater.ImageInfo
Vertical DPI of the image, eg: 96

W

width(int) - Method in class hr.ngs.templater.ImageInfo.Builder
Specifying image width.
width - Variable in class hr.ngs.templater.ImageInfo
Width of the image, eg: 600
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.

X

xmlBuilder(DocumentBuilderFactory, boolean) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Change default XML parser.
xmlTransformer(TransformerFactory, boolean) - Method in interface hr.ngs.templater.IDocumentFactoryBuilder
Change default XML transformer (writer).
B C E F G H I O P R S T V W X 
Skip navigation links