public abstract class NewFileSnippetContext extends Object implements IXMLSnippetContext
Modifier and Type | Field and Description |
---|---|
static IXMLSnippetContext |
DTD_CONTEXT |
static IXMLSnippetContext |
XML_CONTEXT |
static IXMLSnippetContext |
XSD_CONTEXT |
Constructor and Description |
---|
NewFileSnippetContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(ICompletionRequest request,
Map<String,String> model)
Return true if the given value match the snippet context and false otherwise.
|
protected abstract boolean |
isMatchType(DOMDocument document) |
public static final IXMLSnippetContext XML_CONTEXT
public static final IXMLSnippetContext XSD_CONTEXT
public static final IXMLSnippetContext DTD_CONTEXT
public boolean isMatch(ICompletionRequest request, Map<String,String> model)
ISnippetContext
isMatch
in interface ISnippetContext<ICompletionRequest>
request
- the value to check.protected abstract boolean isMatchType(DOMDocument document)
Copyright © 2021. All rights reserved.