Package org.opencms.ai
Class CmsAiContentTranslation.Augmentation
java.lang.Object
org.opencms.ai.CmsAiContentTranslation.Augmentation
- All Implemented Interfaces:
I_CmsXmlContentAugmentation
- Enclosing class:
CmsAiContentTranslation
public class CmsAiContentTranslation.Augmentation
extends Object
implements I_CmsXmlContentAugmentation
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opencms.xml.content.I_CmsXmlContentAugmentation
I_CmsXmlContentAugmentation.Context -
Field Summary
Fields inherited from interface org.opencms.xml.content.I_CmsXmlContentAugmentation
ATTR_CONTEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAugments the content provided in the given context.
-
Constructor Details
-
Augmentation
public Augmentation()
-
-
Method Details
-
augmentContent
Description copied from interface:I_CmsXmlContentAugmentationAugments the content provided in the given context.Implementations can query the given context for information like the original XML content and the current locale, do some processing, and, in the end, call the setResult method to provide the finished, augmented content.
- Specified by:
augmentContentin interfaceI_CmsXmlContentAugmentation- Parameters:
context- the augmentation context - provides access to the content and further information- Throws:
Exception- if something goes wrong
-