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, waitMethods inherited from interface de.xima.fc.form.common.interfaces.IFD2ReplacerProvider
parse
-
Constructor Details
-
DefaultFD2ReplacerProvider
-
-
Method Details
-
parse
Description copied from interface:IFD2ReplacerProviderReplaces placeholders in the given text, using the data from the given render config.- Specified by:
parsein interfaceIFD2ReplacerProvider- Parameters:
text- Text that may contain placeholders to replace.config- Render config to use for the replacement process.escapeHtml-trueto escape HTML in form placeholders,falseotherwise.- Returns:
- The text with all placeholders replaced.
-
parseClientFormula
- Specified by:
parseClientFormulain interfaceIFD2ReplacerProvider
-