Package org.opencms.xml.content
Class CmsXmlContentMacroVisitor
java.lang.Object
org.opencms.xml.content.CmsXmlContentMacroVisitor
- All Implemented Interfaces:
I_CmsXmlContentValueVisitor
Visitor implementation that provides macro resolving for all visited values.
This class is used when a new XML content is generated using a default content as model file.
- Since:
- 6.5.5
-
Constructor Summary
ConstructorDescriptionCmsXmlContentMacroVisitor
(CmsObject cms, CmsMacroResolver resolver) Creates a new validation node visitor. -
Method Summary
-
Constructor Details
-
CmsXmlContentMacroVisitor
Creates a new validation node visitor.- Parameters:
cms
- the initialized OpenCms user context (required for VFS access)resolver
- the macro resolver to use for resolving macros
-
-
Method Details
-
visit
Description copied from interface:I_CmsXmlContentValueVisitor
Visits the given value.- Specified by:
visit
in interfaceI_CmsXmlContentValueVisitor
- Parameters:
value
- the value to visit- See Also:
-