Class XSDReferenceParticipant

java.lang.Object
org.eclipse.lemminx.services.extensions.AbstractReferenceParticipant
org.eclipse.lemminx.extensions.xsd.participants.XSDReferenceParticipant
All Implemented Interfaces:
IReferenceParticipant

public class XSDReferenceParticipant extends AbstractReferenceParticipant
XSD reference
Author:
Angelo ZERR
  • Constructor Details

    • XSDReferenceParticipant

      public XSDReferenceParticipant()
  • Method Details

    • match

      protected boolean match(DOMDocument document)
      Description copied from class: AbstractReferenceParticipant
      Returns true if the reference support is applicable for the given document and false otherwise.
      Specified by:
      match in class AbstractReferenceParticipant
      Returns:
      true if the reference support is applicable for the given document and false otherwise.
    • findReferences

      protected void findReferences(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
      Description copied from class: AbstractReferenceParticipant
      Find the references
      Specified by:
      findReferences in class AbstractReferenceParticipant