Class DefaultFD2ReplacerProvider
java.lang.Object
de.xima.fc.web.common.fd2.provider.DefaultFD2ReplacerProvider
- All Implemented Interfaces:
IFD2ReplacerProvider
,Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse
(String text, IXFormRenderConfig config, boolean escapeHtml) Replaces placeholders in the given text, using the data from the given render config.parseClientFormula
(String text, IXFormRenderConfig config) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.xima.fc.form.common.interfaces.IFD2ReplacerProvider
parse
-
Constructor Details
-
DefaultFD2ReplacerProvider
-
-
Method Details
-
parse
Description copied from interface:IFD2ReplacerProvider
Replaces placeholders in the given text, using the data from the given render config.- Specified by:
parse
in interfaceIFD2ReplacerProvider
- Parameters:
text
- Text that may contain placeholders to replace.config
- Render config to use for the replacement process.escapeHtml
-true
to escape HTML in form placeholders,false
otherwise.- Returns:
- The text with all placeholders replaced.
-
parseClientFormula
- Specified by:
parseClientFormula
in interfaceIFD2ReplacerProvider
-