Class RelaxNGPlugin
- java.lang.Object
-
- org.eclipse.lemminx.extensions.relaxng.RelaxNGPlugin
-
- All Implemented Interfaces:
IXMLExtension
public class RelaxNGPlugin extends Object implements IXMLExtension
RelaxNG plugin.
-
-
Constructor Summary
Constructors Constructor Description RelaxNGPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoSave(ISaveContext context)Called when the Settings or a Document have been saved.ContentModelManagergetContentModelManager()voidstart(org.eclipse.lsp4j.InitializeParams params, XMLExtensionsRegistry registry)Start method to register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.voidstop(XMLExtensionsRegistry registry)Stop method to un-register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.
-
-
-
Method Detail
-
doSave
public void doSave(ISaveContext context)
Description copied from interface:IXMLExtensionCalled when the Settings or a Document have been saved. context.getType() can be used to determine what type was saved. doSave is called on extension start up with a settings context to provide the xml settings to the extension.- Specified by:
doSavein interfaceIXMLExtension
-
start
public void start(org.eclipse.lsp4j.InitializeParams params, XMLExtensionsRegistry registry)Description copied from interface:IXMLExtensionStart method to register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Specified by:
startin interfaceIXMLExtension
-
stop
public void stop(XMLExtensionsRegistry registry)
Description copied from interface:IXMLExtensionStop method to un-register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Specified by:
stopin interfaceIXMLExtension
-
getContentModelManager
public ContentModelManager getContentModelManager()
-
-