Class XMLReferencesReferenceParticipant
java.lang.Object
org.eclipse.lemminx.services.extensions.AbstractReferenceParticipant
org.eclipse.lemminx.extensions.references.participants.XMLReferencesReferenceParticipant
- All Implemented Interfaces:
IReferenceParticipant
XML references reference support.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfindReferences(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) Find the referencesprotected booleanmatch(DOMDocument document) Returns true if the reference support is applicable for the given document and false otherwise.Methods inherited from class org.eclipse.lemminx.services.extensions.AbstractReferenceParticipant
findReference
-
Constructor Details
-
XMLReferencesReferenceParticipant
-
-
Method Details
-
match
Description copied from class:AbstractReferenceParticipantReturns true if the reference support is applicable for the given document and false otherwise.- Specified by:
matchin classAbstractReferenceParticipant- 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:AbstractReferenceParticipantFind the references- Specified by:
findReferencesin classAbstractReferenceParticipant
-