Class XMLSyntaxRelatedInfoFinder
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.XMLSyntaxRelatedInfoFinder
- All Implemented Interfaces:
IRelatedInfoFinder
Find related information for an XML syntax error
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.eclipse.lsp4j.DiagnosticRelatedInformation>findRelatedInformation(int offset, String errorKey, DOMDocument document) Returns a list of related information
-
Constructor Details
-
XMLSyntaxRelatedInfoFinder
public XMLSyntaxRelatedInfoFinder()
-
-
Method Details
-
findRelatedInformation
public List<org.eclipse.lsp4j.DiagnosticRelatedInformation> findRelatedInformation(int offset, String errorKey, DOMDocument document) Description copied from interface:IRelatedInfoFinderReturns a list of related information- Specified by:
findRelatedInformationin interfaceIRelatedInfoFinder- Parameters:
offset- The LemMinX reported error start offseterrorKey- The error keydocument- The document- Returns:
- a list of related information
-