Class GenerateXMLModelWithDTDCodeActionResolver
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints.AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints.GenerateXMLModelWithDTDCodeActionResolver
- All Implemented Interfaces:
ICodeActionResolvesParticipant
public class GenerateXMLModelWithDTDCodeActionResolver
extends AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant
Code action resolver participant used to:
- generate the DTD file for the given DOM document
- generate the association xml-model in the XML to bind it with the generated DTD
- Author:
- Angelo ZERR
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.lsp4j.TextDocumentEditcreateFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) protected FileContentGeneratorSettingsMethods inherited from class org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints.AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant
resolveCodeAction
-
Field Details
-
PARTICIPANT_ID
-
-
Constructor Details
-
GenerateXMLModelWithDTDCodeActionResolver
public GenerateXMLModelWithDTDCodeActionResolver()
-
-
Method Details
-
getFileContentGeneratorSettings
- Specified by:
getFileContentGeneratorSettingsin classAbstractGenerateGrammarAndAssociationResolveCodeActionParticipant