TextContentVariableContextVariableTypeConverter Class
- java.
lang. Object - com.
microsoft. semantickernel. contextvariables. ContextVariableTypeConverter<T> - com.
microsoft. semantickernel. contextvariables. converters. TextContentVariableContextVariableTypeConverter
- com.
- com.
public class TextContentVariableContextVariableTypeConverter
extends ContextVariableTypeConverter<TextContent>
A converter for a context variable type. This class is used to convert objects to and from a prompt string, and to convert objects to the type of the context variable.
Constructor Summary
| Constructor | Description |
|---|---|
| TextContentVariableContextVariableTypeConverter() |
Initializes a new instance of the TextContentVariableContextVariableTypeConverter class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static java.lang.String |
escapeXmlStringValue(TextContent value)
Escapes the XML string value. |
Methods inherited from ContextVariableTypeConverter
Methods inherited from java.lang.Object
Constructor Details
TextContentVariableContextVariableTypeConverter
public TextContentVariableContextVariableTypeConverter()
Initializes a new instance of the TextContentVariableContextVariableTypeConverter class.
Method Details
escapeXmlStringValue
public static String escapeXmlStringValue(TextContent value)
Escapes the XML string value.
Parameters:
Returns: