Class ListBindableCatalogEntriesCommand
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.commands.ListBindableCatalogEntriesCommand
- All Implemented Interfaces:
IXMLCommandService.IDelegateCommandHandler
public class ListBindableCatalogEntriesCommand
extends Object
implements IXMLCommandService.IDelegateCommandHandler
XML Command "xml.catalog.entries.bindable" to list all bindable catalog
entries across all registered catalogs.
Traverses each registered XML catalog (including nextCatalog
references), collecting <public>, <system>, and
<uri> entries. Each entry is returned as a
BindableCatalogEntry with its resolved target URI and detected
grammar type (xsd, dtd, rng, rnc).
Use case: the vscode-xml extension calls this command to populate the catalog binding quick pick, letting the user choose which catalog entry to associate with the current XML file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Executes a command.
-
Field Details
-
COMMAND_ID
- See Also:
-
-
Constructor Details
-
ListBindableCatalogEntriesCommand
-
-
Method Details