Class XMLSyntaxRelatedInfoFinder

java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.XMLSyntaxRelatedInfoFinder
All Implemented Interfaces:
IRelatedInfoFinder

public class XMLSyntaxRelatedInfoFinder extends Object implements IRelatedInfoFinder
Find related information for an XML syntax error
  • 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: IRelatedInfoFinder
      Returns a list of related information
      Specified by:
      findRelatedInformation in interface IRelatedInfoFinder
      Parameters:
      offset - The LemMinX reported error start offset
      errorKey - The error key
      document - The document
      Returns:
      a list of related information