S - the type which to map into a run of text.public abstract class AbstractToTextResolver<S> extends Object implements ITypeResolver<S,org.docx4j.wml.R>
| Constructor and Description |
|---|
AbstractToTextResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.docx4j.wml.R |
resolve(org.docx4j.openpackaging.packages.WordprocessingMLPackage document,
S expressionResult)
This method is called when a placeholder in the .docx template is to replaced by the result of an expression that
was found in the .docx template.
|
protected abstract String |
resolveStringForObject(S object) |
public org.docx4j.wml.R resolve(org.docx4j.openpackaging.packages.WordprocessingMLPackage document,
S expressionResult)
ITypeResolverresolve in interface ITypeResolver<S,org.docx4j.wml.R>document - the word document that can be accessed via the DOCX4J api.expressionResult - the result of an expression. Only objects of classes this type resolver is registered for
within the TypeResolverRegistrey are passed into this method.Copyright © 2017. All rights reserved.