Class DTDNodeSnippetContext
java.lang.Object
org.eclipse.lemminx.services.snippets.DTDNodeSnippetContext
- All Implemented Interfaces:
ISnippetContext<ICompletionRequest>,IXMLSnippetContext
- Direct Known Subclasses:
CommentSnippetContext
DTD nodes snippet context used to filter the <!ELEMENT, <!ATTLIST, <!ENTITY
snippets.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMatch(ICompletionRequest request, Map<String, String> model) Return true if the given value match the snippet context and false otherwise.
-
Field Details
-
DEFAULT_CONTEXT
-
-
Constructor Details
-
DTDNodeSnippetContext
public DTDNodeSnippetContext()
-
-
Method Details
-
isMatch
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.
-