Uses of Class
org.opencms.util.CmsMacroResolver
Package
Description
The implementations of the core resource types for the VFS are located here.
Utility classes to be used for JSP pages.
Contains classes for the automatical notification of outdated, expiring or released content.
Implements the search functions for the OpenCms Gallery search index,
which is used by the Advanced Direct Edit (ADE) functions.
Contains code for the comparison view of the file history dialog.
Contains utility classes for dealing with Vaadin tables.
Utility functions for String manipulation and other often used tasks.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Used to control the generation of the HTML for the "direct edit" buttons.
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
-
Uses of CmsMacroResolver in org.opencms.file.types
Modifier and TypeMethodDescriptionprotected CmsMacroResolver
A_CmsResourceType.getMacroResolver
(CmsObject cms, String resourcename) Creates a macro resolver based on the current users OpenCms context and the provided resource name.Modifier and TypeMethodDescriptionprotected List<CmsConfigurationCopyResource>
A_CmsResourceType.getCopyResources
(CmsObject cms, String resourcename, CmsMacroResolver resolver) Gets the actual copy resources to use when creating a resource.protected List<CmsConfigurationCopyResource>
CmsResourceTypeSubsitemapContentFolder.getCopyResources
(CmsObject cms, String resourcename, CmsMacroResolver resolver) protected void
A_CmsResourceType.processCopyResources
(CmsObject cms, String resourcename, CmsMacroResolver resolver) Processes the copy resources of this resource type.protected List<CmsProperty>
A_CmsResourceType.processDefaultProperties
(List<CmsProperty> properties, CmsMacroResolver resolver) Returns a list of property objects that are attached to the resource on creation. -
Uses of CmsMacroResolver in org.opencms.jsp.util
Modifier and TypeClassDescriptionclass
Macro resolver used to temporarily replace localization message macros with random UUIDs and then replace the UUIDs with the original key after all other macro processing has happened.Modifier and TypeMethodDescriptionstatic CmsMacroResolver
CmsFormatterInfoWrapper.getMacroResolverForFormatter
(CmsObject cms, I_CmsFormatterBean formatter) Prepares the macro resolver to use for formatter info / setting info beans.Modifier and TypeMethodDescriptionstatic String
CmsKeyDummyMacroResolver.getKey
(String s, CmsMacroResolver delegate) Gets the localization key name of a (potentially nested) key macro in a base string.ModifierConstructorDescriptionCmsKeyDummyMacroResolver
(CmsMacroResolver delegate) Creates a new instanceCmsSettingDefinitionWrapper
(CmsObject cms, CmsXmlContentProperty settingDef, CmsMacroResolver resolver) Creates a new instance. -
Uses of CmsMacroResolver in org.opencms.notification
Modifier and TypeClassDescriptionclass
MacroResolver for Notifications. -
Uses of CmsMacroResolver in org.opencms.search.galleries
Modifier and TypeClassDescriptionclass
Macro resolver used to resolve macros for the gallery name mapping. -
Uses of CmsMacroResolver in org.opencms.ui.dialogs.history.diff
-
Uses of CmsMacroResolver in org.opencms.ui.util.table
Modifier and TypeMethodDescriptionCmsBeanTableBuilder.getMacroResolver()
Gets the macro resolver which is used for column headers.Modifier and TypeMethodDescriptionvoid
CmsBeanTableBuilder.setMacroResolver
(CmsMacroResolver resolver) Sets the macro resolver. -
Uses of CmsMacroResolver in org.opencms.util
Modifier and TypeMethodDescriptionstatic CmsMacroResolver
CmsMacroResolver.newInstance()
Factory method to create a newCmsMacroResolver
instance.CmsMacroResolver.setAdditionalMacros
(Map<String, String> additionalMacros) Provides a set of additional macros to this macro resolver.CmsMacroResolver.setCmsObject
(CmsObject cms) Provides an OpenCms user context to this macro resolver, required to resolve certain macros.CmsMacroResolver.setJspPageContext
(javax.servlet.jsp.PageContext jspPageContext) Provides a JSP page context to this macro resolver, required to resolve certain macros.CmsMacroResolver.setKeepEmptyMacros
(boolean keepEmptyMacros) Controls of macros that can't be resolved are left unchanged in the input, or are replaced with an empty String.CmsMacroResolver.setMessages
(CmsMessages messages) Provides a set of
to this macro resolver, required to resolve localized macros.CmsMessages
CmsMacroResolver.setResourceName
(String resourceName) Provides a resource name to this macro resolver, required to resolve certain macros. -
Uses of CmsMacroResolver in org.opencms.workplace
Modifier and TypeMethodDescriptionCmsWorkplace.getMacroResolver()
Returns the current used macro resolver instance. -
Uses of CmsMacroResolver in org.opencms.workplace.editors.directedit
Modifier and TypeMethodDescriptionprotected CmsMacroResolver
CmsDirectEditDefaultProvider.prepareMacroResolverForIncludes
(CmsDirectEditParams params) Prepares the macro resolver which is used to process the included text file.protected CmsMacroResolver
CmsDirectEditJQueryProvider.prepareMacroResolverForIncludes
(CmsDirectEditParams params) -
Uses of CmsMacroResolver in org.opencms.xml.content
Modifier and TypeMethodDescriptionstatic CmsMacroResolver
CmsXmlContentPropertyHelper.getMacroResolverForProperties
(CmsObject cms, I_CmsXmlContentHandler contentHandler, CmsXmlContent content, Function<String, String> stringtemplateSource, CmsResource containerPage) Creates and configures a new macro resolver for resolving macros which occur in property definitions.ModifierConstructorDescriptionCmsXmlContentMacroVisitor
(CmsObject cms, CmsMacroResolver resolver) Creates a new validation node visitor.