Class CDATASnippetContext
- java.lang.Object
-
- org.eclipse.lemminx.services.snippets.CDATASnippetContext
-
- All Implemented Interfaces:
ISnippetContext<ICompletionRequest>,IXMLSnippetContext
public class CDATASnippetContext extends Object implements IXMLSnippetContext
CDATA snippet context used to filter the CDATA snippets.
-
-
Field Summary
Fields Modifier and Type Field Description static IXMLSnippetContextDEFAULT_CONTEXT
-
Constructor Summary
Constructors Constructor Description CDATASnippetContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMatch(ICompletionRequest request, Map<String,String> model)Return true if the given value match the snippet context and false otherwise.
-
-
-
Field Detail
-
DEFAULT_CONTEXT
public static IXMLSnippetContext DEFAULT_CONTEXT
-
-
Method Detail
-
isMatch
public boolean isMatch(ICompletionRequest request, Map<String,String> model)
Description copied from interface:ISnippetContextReturn true if the given value match the snippet context and false otherwise.- Specified by:
isMatchin interfaceISnippetContext<ICompletionRequest>- Parameters:
request- the value to check.- Returns:
- true if the given value match the snippet context and false otherwise.
-
-