Uses of Class
org.eclipse.lemminx.dom.DOMDocument
Packages that use DOMDocument
Package
Description
-
Uses of DOMDocument in org.eclipse.lemminx
Methods in org.eclipse.lemminx that return DOMDocumentModifier and TypeMethodDescriptionXMLLanguageServer.getDocument(String uri) XMLTextDocumentService.SaveContext.getDocument(String uri) Methods in org.eclipse.lemminx that return types with arguments of type DOMDocumentModifier and TypeMethodDescriptionXMLTextDocumentService.allDocuments()XMLLanguageServer.getAllDocuments()XMLTextDocumentService.getDocument(String uri) Returns the text document from the given uri.Methods in org.eclipse.lemminx with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidXMLLanguageServer.validate(DOMDocument document, Map<String, Object> validationArgs) Method parameters in org.eclipse.lemminx with type arguments of type DOMDocumentModifier and TypeMethodDescriptionvoidXMLTextDocumentService.SaveContext.collectDocumentToValidate(Predicate<DOMDocument> validateDocumentPredicate) <R> CompletableFuture<R>XMLTextDocumentService.computeDOMAsync(org.eclipse.lsp4j.TextDocumentIdentifier documentIdentifier, BiFunction<DOMDocument, org.eclipse.lsp4j.jsonrpc.CancelChecker, R> code) Compute the DOM Document for a given uri in a future and then apply the given function. -
Uses of DOMDocument in org.eclipse.lemminx.customservice.synapse.definition
Methods in org.eclipse.lemminx.customservice.synapse.definition with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.LocationSynapseDefinitionProvider.definition(DOMDocument document, org.eclipse.lsp4j.Position position, String projectPath, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMDocument in org.eclipse.lemminx.customservice.synapse.expression
Methods in org.eclipse.lemminx.customservice.synapse.expression with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.PositionExpressionCompletionUtils.getMediatorPosition(DOMDocument document, org.eclipse.lsp4j.Position position) Get the mediator position that need to be used to get the serverless tryout info for the completions. -
Uses of DOMDocument in org.eclipse.lemminx.customservice.synapse.expression.pojo
Methods in org.eclipse.lemminx.customservice.synapse.expression.pojo that return DOMDocumentConstructors in org.eclipse.lemminx.customservice.synapse.expression.pojo with parameters of type DOMDocumentModifierConstructorDescriptionExpressionCompletionRequest(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position) ExpressionCompletionRequest(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, int offset) -
Uses of DOMDocument in org.eclipse.lemminx.customservice.synapse.mediator
Methods in org.eclipse.lemminx.customservice.synapse.mediator with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic voidTryOutUtils.addNewLogMediator(DOMDocument document, int insertOffset, Path editFilePath) This method is used to add a new log mediator to the sequence. -
Uses of DOMDocument in org.eclipse.lemminx.customservice.synapse.mediatorService
Methods in org.eclipse.lemminx.customservice.synapse.mediatorService with parameters of type DOMDocumentModifier and TypeMethodDescriptioncom.google.gson.JsonObjectAIConnectorHandler.getToolSchemaWithValues(DOMDocument document, org.eclipse.lsp4j.Position position) Retrieves the ui schema with current values for the agent tool at the given position. -
Uses of DOMDocument in org.eclipse.lemminx.customservice.synapse.syntaxTree
Methods in org.eclipse.lemminx.customservice.synapse.syntaxTree with parameters of type DOMDocument -
Uses of DOMDocument in org.eclipse.lemminx.customservice.synapse.utils
Methods in org.eclipse.lemminx.customservice.synapse.utils that return DOMDocumentModifier and TypeMethodDescriptionstatic DOMDocumentUtils.getDOMDocument(File file) static DOMDocumentUtils.getDOMDocument(String content) Get the DOM document from the given xml contentstatic DOMDocumentUtils.getDOMDocument(String content, URIResolverExtensionManager resolverExtensionManager) static DOMDocumentUtils.getDOMDocumentFromPath(String path) Returns theDOMDocumentfor the given file path.Methods in org.eclipse.lemminx.customservice.synapse.utils with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic DOMNodeUtils.findDescriptionNode(DOMDocument projectDOM) static DOMElementUtils.getRootElement(DOMDocument document) Get the root element of the given document -
Uses of DOMDocument in org.eclipse.lemminx.dom
Methods in org.eclipse.lemminx.dom that return DOMDocumentModifier and TypeMethodDescriptionDOMAttr.getOwnerDocument()DOMDocument.getOwnerDocument()DOMNode.getOwnerDocument()Returns the owner document and null otherwise.DOMRange.getOwnerDocument()Returns the owner document.DTDDeclParameter.getOwnerDocument()SchemaLocationHint.getOwnerDocument()DOMParser.parse(String text, String uri, URIResolverExtensionManager resolverExtensionManager) DOMParser.parse(String text, String uri, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent) DOMParser.parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager) DOMParser.parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent) DOMParser.parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) Methods in org.eclipse.lemminx.dom with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic DOMNodeDOMNode.findNodeOrAttrAt(DOMDocument document, int offset) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.catalog
Methods in org.eclipse.lemminx.extensions.catalog with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidXMLCatalogDiagnosticsParticipant.doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) voidXMLCatalogDocumentLinkParticipant.findDocumentLinks(DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) static List<CatalogEntry>CatalogUtils.getCatalogEntries(DOMDocument document) Returns a list of all the catalog entries in the given document, or an empty list if the document is not a catalog.static StringCatalogUtils.getResolvedLocation(DOMDocument document, CatalogEntry catalogEntry) Returns the expanded system location -
Uses of DOMDocument in org.eclipse.lemminx.extensions.colors.participants
Methods in org.eclipse.lemminx.extensions.colors.participants with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidXMLDocumentColorParticipant.doColorPresentations(DOMDocument xmlDocument, org.eclipse.lsp4j.ColorPresentationParams params, List<org.eclipse.lsp4j.ColorPresentation> presentations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) voidXMLDocumentColorParticipant.doDocumentColor(DOMDocument xmlDocument, List<org.eclipse.lsp4j.ColorInformation> colors, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.contentmodel.commands
Methods in org.eclipse.lemminx.extensions.contentmodel.commands with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic booleanCheckBoundGrammarCommand.canBindWithGrammar(DOMDocument document) Returns true if the given DOM document can be bound with a given grammar and false otherwise.protected ObjectAssociateGrammarCommand.executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected ObjectCheckBoundGrammarCommand.executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected ObjectSurroundWithCommand.executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected ObjectXMLValidationFileCommand.executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.contentmodel.model
Methods in org.eclipse.lemminx.extensions.contentmodel.model with parameters of type DOMDocumentModifier and TypeMethodDescriptionbooleanContentModelProvider.adaptFor(DOMDocument document, boolean internal) Returns the content model provider by using standard association (xsi:schemaLocation, xsi:noNamespaceSchemaLocation, doctype) and null otherwise.ContentModelProvider.createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities) Create the internal content model (for DOCTYPE subset) from the given DOM document.booleanContentModelManager.dependsOnGrammar(DOMDocument document, String grammarURI) Returns true if the given document is linked to the given grammar URI (XML Schema, DTD) and false otherwise.voidContentModelManager.evictCacheFor(DOMDocument document) Remove the referenced grammar from the given document and clear the Xerces grammar cache which stores the XSD, DTD grammar.ContentModelManager.findCMDocument(DOMDocument xmlDocument, String namespaceURI) ContentModelManager.findCMDocument(DOMDocument xmlDocument, String namespaceURI, boolean withInternal) Returns the declared documents which match the given DOM document.ContentModelProvider.getIdentifiers(DOMDocument xmlDocument, String namespaceURI) Returns the identifiers list from the given document and namespace.ContentModelManager.getReferencedGrammarInfos(DOMDocument document) Returns informations about all referenced grammar (XSD, DTD) from the given DOM document. -
Uses of DOMDocument in org.eclipse.lemminx.extensions.contentmodel.participants
Methods in org.eclipse.lemminx.extensions.contentmodel.participants with parameters of type DOMDocumentModifier and TypeMethodDescriptionContentModelSymbolsProviderParticipant.applyFor(DOMDocument document) voidDocumentTelemetryParticipant.didChange(DOMDocument document) voidDocumentTelemetryParticipant.didClose(DOMDocument document) voidDocumentTelemetryParticipant.didOpen(DOMDocument document) voidDocumentTelemetryParticipant.didSave(DOMDocument document) voidContentModelDocumentLinkParticipant.findDocumentLinks(DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) voidContentModelSymbolsProviderParticipant.findDocumentSymbols(DOMDocument document, DocumentSymbolsResult symbols, XMLSymbolFilter filter, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.DiagnosticRelatedInformation>AggregateRelatedInfoFinder.findRelatedInformation(int offset, String errorKey, DOMDocument document) List<org.eclipse.lsp4j.DiagnosticRelatedInformation>IRelatedInfoFinder.findRelatedInformation(int offset, String errorKey, DOMDocument document) Returns a list of related informationList<org.eclipse.lsp4j.DiagnosticRelatedInformation>XMLSyntaxRelatedInfoFinder.findRelatedInformation(int offset, String errorKey, DOMDocument document) voidContentModelSymbolsProviderParticipant.findSymbolInformations(DOMDocument document, SymbolInformationResult symbols, XMLSymbolFilter filter, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) static DOMRangeXMLModelUtils.getHrefNode(DOMDocument document, String hrefLocation) Returns the DOM range of the href of the xml-model processing instruction which matches the given hrefLocation.protected booleanContentModelTypeDefinitionParticipant.match(DOMDocument document) static org.eclipse.lsp4j.RangeDTDErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location, DTDErrorCode code, Object[] arguments, DOMDocument document) Create the LSP range from the SAX error.static org.eclipse.lsp4j.RangeXMLSchemaErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location, XMLSchemaErrorCode code, Object[] arguments, DOMDocument document) Create the LSP range from the SAX error.static org.eclipse.lsp4j.RangeXMLSyntaxErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location, XMLSyntaxErrorCode code, Object[] arguments, DOMDocument document) Create the LSP range from the SAX error. -
Uses of DOMDocument in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints
Methods in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction.createDocTypeEdit(String dtdFileName, DOMDocument document, SharedSettings sharedSettings) protected abstract org.eclipse.lsp4j.TextDocumentEditAbstractGenerateGrammarAndAssociationResolveCodeActionParticipant.createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) protected org.eclipse.lsp4j.TextDocumentEditGenerateDocTypeCodeActionResolver.createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) protected org.eclipse.lsp4j.TextDocumentEditGenerateRelaxNGSchemaCodeActionResolver.createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) protected org.eclipse.lsp4j.TextDocumentEditGenerateXMLModelWithDTDCodeActionResolver.createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) protected org.eclipse.lsp4j.TextDocumentEditGenerateXMLModelWithXSDCodeActionResolver.createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) protected org.eclipse.lsp4j.TextDocumentEditGenerateXSINoNamespaceSchemaCodeActionResolver.createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction.createXmlModelEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction.createXSINoNamespaceSchemaLocationEdit(String schemaFileName, DOMDocument document, SharedSettings sharedSettings) static org.eclipse.lsp4j.TextDocumentEditNoGrammarConstraintsCodeAction.createXSISchemaLocationEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.contentmodel.participants.diagnostics
Methods in org.eclipse.lemminx.extensions.contentmodel.participants.diagnostics with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidContentModelDiagnosticsParticipant.doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) static voidXMLValidator.doDiagnostics(DOMDocument document, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, ContentModelManager contentModelManager, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) protected org.eclipse.lsp4j.RangeLSPErrorReporterForXML.toLSPRange(org.apache.xerces.xni.XMLLocator location, String key, Object[] arguments, String message, org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity, boolean fatalError, DOMDocument document, String documentOrGrammarURI, boolean errorForDocument) Constructors in org.eclipse.lemminx.extensions.contentmodel.participants.diagnostics with parameters of type DOMDocumentModifierConstructorDescriptionLSPErrorReporterForXML(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, ContentModelManager contentModelManager, boolean hasRelatedInformation, Map<String, ReferencedGrammarDiagnosticsInfo> referencedGrammarDiagnosticsInfoCache) LSPSAXParser(LSPErrorReporterForXML reporter, org.apache.xerces.xni.parser.XMLParserConfiguration config, LSPXMLGrammarPool grammarPool, DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.dtd.contentmodel
Methods in org.eclipse.lemminx.extensions.dtd.contentmodel with parameters of type DOMDocumentModifier and TypeMethodDescriptionbooleanCMDTDContentModelProvider.adaptFor(DOMDocument document, boolean internal) CMDTDContentModelProvider.createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities) CMDTDContentModelProvider.getIdentifiers(DOMDocument xmlDocument, String namespaceURI) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.dtd.participants
Methods in org.eclipse.lemminx.extensions.dtd.participants with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidDTDDocumentLinkParticipant.findDocumentLinks(DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) protected booleanDTDDefinitionParticipant.match(DOMDocument document) protected booleanDTDReferenceParticipant.match(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.dtd.participants.diagnostics
Methods in org.eclipse.lemminx.extensions.dtd.participants.diagnostics with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidDTDDiagnosticsParticipant.doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) static voidDTDValidator.doDiagnostics(DOMDocument document, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, ContentModelManager contentModelManager, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.entities.participants
Methods in org.eclipse.lemminx.extensions.entities.participants with parameters of type DOMDocumentModifier and TypeMethodDescriptionprotected booleanEntitiesDefinitionParticipant.match(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.prolog
Methods in org.eclipse.lemminx.extensions.prolog with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic voidPrologModel.computeAttributeNameCompletionResponses(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.Range editRange, DOMDocument document, SharedSettings sharedSettings) static voidPrologModel.computeValueCompletionResponses(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.Range editRange, DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.references.participants
Methods in org.eclipse.lemminx.extensions.references.participants with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidXMLReferencesDiagnosticParticipant.doDiagnostics(DOMDocument document, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) protected booleanXMLReferencesDefinitionParticipant.match(DOMDocument document) protected booleanXMLReferencesReferenceParticipant.match(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.references.search
Methods in org.eclipse.lemminx.extensions.references.search that return DOMDocumentMethods in org.eclipse.lemminx.extensions.references.search with parameters of type DOMDocumentModifier and TypeMethodDescriptionSearchEngine.searchLinks(DOMDocument document, XMLReferencesSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.relaxng.grammar.rng
Methods in org.eclipse.lemminx.extensions.relaxng.grammar.rng with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidRNGDiagnosticsParticipant.doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) static voidRNGValidator.doDiagnostics(DOMDocument document, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, ContentModelManager contentModelManager, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) voidRNGDocumentLinkParticipant.findDocumentLinks(DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) voidRNGDocumentLinkParticipant.findDocumentLinks(DOMNode parent, DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) protected booleanRNGDefinitionParticipant.match(DOMDocument document) protected booleanRNGReferenceParticipant.match(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.relaxng.xml.contentmodel
Methods in org.eclipse.lemminx.extensions.relaxng.xml.contentmodel with parameters of type DOMDocumentModifier and TypeMethodDescriptionbooleanCMRelaxNGContentModelProvider.adaptFor(DOMDocument document, boolean internal) CMRelaxNGContentModelProvider.createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities) CMRelaxNGContentModelProvider.getIdentifiers(DOMDocument xmlDocument, String namespaceURI) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.relaxng.xml.validator
Methods in org.eclipse.lemminx.extensions.relaxng.xml.validator with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.RangeRelaxNGErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location, RelaxNGErrorCode rngCode, Object[] arguments, DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xerces
Methods in org.eclipse.lemminx.extensions.xerces that return DOMDocumentModifier and TypeMethodDescriptionprotected DOMDocumentAbstractLSPErrorReporter.getDOMDocument()Returns the DOM document which is validating.ReferencedGrammarDiagnosticsInfo.getGrammarDocument()Returns the DOM document of the referenced grammar.Methods in org.eclipse.lemminx.extensions.xerces with parameters of type DOMDocumentModifier and TypeMethodDescriptionprotected org.eclipse.lsp4j.RangeAbstractLSPErrorReporter.createDefaultRange(org.apache.xerces.xni.XMLLocator location, DOMDocument document) protected abstract org.eclipse.lsp4j.RangeAbstractLSPErrorReporter.toLSPRange(org.apache.xerces.xni.XMLLocator location, String key, Object[] arguments, String message, org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity, boolean fatalError, DOMDocument document) Returns the range of the given error information, or {AbstractLSPErrorReporter.NO_RANGEif diagnostic must not be created and null otherwise.protected org.eclipse.lsp4j.RangeAbstractReferencedGrammarLSPErrorReporter.toLSPRange(org.apache.xerces.xni.XMLLocator location, String key, Object[] arguments, String message, org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity, boolean fatalError, DOMDocument document) Create the LSP range from the SAX error.protected abstract org.eclipse.lsp4j.RangeAbstractReferencedGrammarLSPErrorReporter.toLSPRange(org.apache.xerces.xni.XMLLocator location, String key, Object[] arguments, String message, org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity, boolean fatalError, DOMDocument document, String documentOrGrammarURI, boolean errorForDocument) Constructors in org.eclipse.lemminx.extensions.xerces with parameters of type DOMDocumentModifierConstructorDescriptionAbstractLSPErrorReporter(String source, DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, boolean hasRelatedInfo) AbstractReferencedGrammarLSPErrorReporter(String source, DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, ContentModelManager contentModelManager, boolean hasRelatedInformation, Map<String, ReferencedGrammarDiagnosticsInfo> referencedGrammarDiagnosticsInfoCache) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xinclude
Methods in org.eclipse.lemminx.extensions.xinclude with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidXIncludeDocumentLinkParticipant.findDocumentLinks(DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) voidXIncludeDocumentLinkParticipant.findDocumentLinks(DOMNode parent, DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) static org.eclipse.lsp4j.RangeXIncludeErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location, XIncludeErrorCode code, Object[] arguments, DOMDocument document) Create the LSP range from the SAX error. -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xmlmodel.contentmodel
Methods in org.eclipse.lemminx.extensions.xmlmodel.contentmodel with parameters of type DOMDocumentModifier and TypeMethodDescriptionbooleanCMXMLModelContentModelProvider.adaptFor(DOMDocument document, boolean internal) CMXMLModelContentModelProvider.createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities) CMXMLModelContentModelProvider.getIdentifiers(DOMDocument xmlDocument, String namespaceURI) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xsd.contentmodel
Methods in org.eclipse.lemminx.extensions.xsd.contentmodel with parameters of type DOMDocumentModifier and TypeMethodDescriptionbooleanCMXSDContentModelProvider.adaptFor(DOMDocument document, boolean internal) CMXSDContentModelProvider.createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities) CMXSDContentModelProvider.getIdentifiers(DOMDocument xmlDocument, String namespaceURI) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xsd.participants
Methods in org.eclipse.lemminx.extensions.xsd.participants with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidXSDDocumentLinkParticipant.findDocumentLinks(DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) protected booleanXSDDefinitionParticipant.match(DOMDocument document) protected booleanXSDReferenceParticipant.match(DOMDocument document) static org.eclipse.lsp4j.RangeXSDErrorCode.toLSPRange(org.apache.xerces.xni.XMLLocator location, XSDErrorCode code, Object[] arguments, DOMDocument document) Create the LSP range from the SAX error. -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xsd.participants.diagnostics
Methods in org.eclipse.lemminx.extensions.xsd.participants.diagnostics with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidXSDDiagnosticsParticipant.doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) static voidXSDValidator.doDiagnostics(DOMDocument document, org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, ContentModelManager contentModelManager, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor) protected org.eclipse.lsp4j.RangeLSPErrorReporterForXSD.toLSPRange(org.apache.xerces.xni.XMLLocator location, String key, Object[] arguments, String message, org.eclipse.lsp4j.DiagnosticSeverity diagnosticSeverity, boolean fatalError, DOMDocument document, String documentOrGrammarURI, boolean errorForDocument) Constructors in org.eclipse.lemminx.extensions.xsd.participants.diagnostics with parameters of type DOMDocumentModifierConstructorDescriptionLSPErrorReporterForXSD(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, ContentModelManager contentModelManager, boolean hasRelatedInformation, Map<String, ReferencedGrammarDiagnosticsInfo> referencedGrammarDiagnosticsInfoCache) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xsd.utils
Methods in org.eclipse.lemminx.extensions.xsd.utils with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic DOMAttrXSDUtils.findSchemaLocationAttrByURI(DOMDocument document, String grammarURI) Returns the xsd:import/@schemaLocation or xsd:include/@schemaLocation declared in the givendocumentby the givengrammarURIand null otherwise. -
Uses of DOMDocument in org.eclipse.lemminx.extensions.xsi
Methods in org.eclipse.lemminx.extensions.xsi with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic voidXSISchemaModel.computeCompletionResponses(ICompletionRequest request, ICompletionResponse response, DOMDocument document, boolean generateValue, SharedSettings sharedSettings) static voidXSISchemaModel.computeValueCompletionResponses(ICompletionRequest request, ICompletionResponse response, DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.services
Methods in org.eclipse.lemminx.services that return DOMDocumentModifier and TypeMethodDescriptionIXMLDocumentProvider.getDocument(String uri) Returns theDOMDocumentinstance from the givenuriand null otherwise.ResolveCompletionItemRequest.getDocument()Methods in org.eclipse.lemminx.services that return types with arguments of type DOMDocumentModifier and TypeMethodDescriptiondefault Collection<DOMDocument>IXMLDocumentProvider.getAllDocuments()All known documents XML server is working with at the momentMethods in org.eclipse.lemminx.services with parameters of type DOMDocumentModifier and TypeMethodDescriptionXMLLanguageService.doAutoClose(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, XMLCompletionSettings completionSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.CodeAction>XMLCodeActions.doCodeActions(org.eclipse.lsp4j.CodeActionContext context, org.eclipse.lsp4j.Range range, DOMDocument document, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.CodeAction>XMLLanguageService.doCodeActions(org.eclipse.lsp4j.CodeActionContext context, org.eclipse.lsp4j.Range range, DOMDocument document, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.CompletionListXMLCompletions.doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.CompletionListXMLLanguageService.doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings) org.eclipse.lsp4j.CompletionListXMLLanguageService.doComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.Diagnostic>XMLLanguageService.doDiagnostics(DOMDocument xmlDocument, XMLValidationSettings validationSettings, Map<String, Object> validationArgs, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.HoverXMLLanguageService.doHover(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings sharedSettings) org.eclipse.lsp4j.HoverXMLLanguageService.doHover(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.WorkspaceEditXMLLanguageService.doRename(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, String newText, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.WorkspaceEditXMLRename.doRename(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, String newText, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) XMLCompletions.doTagComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, XMLCompletionSettings completionSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) XMLLanguageService.doTagComplete(DOMDocument xmlDocument, XMLCompletionSettings completionSettings, org.eclipse.lsp4j.Position position) XMLLanguageService.doTagComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, XMLCompletionSettings completionSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<? extends org.eclipse.lsp4j.LocationLink>XMLLanguageService.findDefinition(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.ColorInformation>XMLLanguageService.findDocumentColors(DOMDocument xmlDocument, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.DocumentHighlight>XMLLanguageService.findDocumentHighlights(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position) List<org.eclipse.lsp4j.DocumentHighlight>XMLLanguageService.findDocumentHighlights(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.DocumentLink>XMLLanguageService.findDocumentLinks(DOMDocument document) List<org.eclipse.lsp4j.DocumentSymbol>XMLLanguageService.findDocumentSymbols(DOMDocument xmlDocument, XMLSymbolSettings symbolSettings) XMLLanguageService.findDocumentSymbols(DOMDocument xmlDocument, XMLSymbolSettings symbolSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.LinkedEditingRangesXMLLanguageService.findLinkedEditingRanges(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Returns the linked editing ranges for the givenxmlDocumentat the givenpositionand null otherwise.List<? extends org.eclipse.lsp4j.Location>XMLLanguageService.findReferences(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.ReferenceContext context, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.SymbolInformation>XMLLanguageService.findSymbolInformations(DOMDocument xmlDocument, XMLSymbolSettings symbolSettings) XMLLanguageService.findSymbolInformations(DOMDocument xmlDocument, XMLSymbolSettings symbolSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<? extends org.eclipse.lsp4j.LocationLink>XMLLanguageService.findTypeDefinition(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<? extends org.eclipse.lsp4j.TextEdit>XMLLanguageService.format(DOMDocument xmlDocument, org.eclipse.lsp4j.Range range, SharedSettings sharedSettings) List<? extends org.eclipse.lsp4j.CodeLens>XMLLanguageService.getCodeLens(DOMDocument xmlDocument, XMLCodeLensSettings settings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.ColorPresentation>XMLLanguageService.getColorPresentations(DOMDocument xmlDocument, org.eclipse.lsp4j.ColorPresentationParams params, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.FoldingRange>XMLLanguageService.getFoldingRanges(DOMDocument xmlDocument, XMLFoldingSettings context) List<org.eclipse.lsp4j.FoldingRange>XMLLanguageService.getFoldingRanges(DOMDocument xmlDocument, XMLFoldingSettings context, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.PositionXMLLanguageService.getMatchingTagPosition(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) List<org.eclipse.lsp4j.SelectionRange>XMLLanguageService.getSelectionRanges(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Position> positions, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.Range,org.eclipse.lsp4j.PrepareRenameResult> XMLLanguageService.prepareRename(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.jsonrpc.messages.Either<org.eclipse.lsp4j.Range,org.eclipse.lsp4j.PrepareRenameResult> XMLPrepareRename.prepareRename(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) XMLLanguageService.publishDiagnostics(DOMDocument xmlDocument, Consumer<org.eclipse.lsp4j.PublishDiagnosticsParams> publishDiagnostics, Consumer<TextDocument> triggerValidation, XMLValidationRootSettings validationSettings, Map<String, Object> validationArgs, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.CodeActionXMLCodeActions.resolveCodeAction(org.eclipse.lsp4j.CodeAction unresolved, DOMDocument document, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.CodeActionXMLLanguageService.resolveCodeAction(org.eclipse.lsp4j.CodeAction unresolved, DOMDocument document, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) org.eclipse.lsp4j.CompletionItemXMLCompletions.resolveCompletionItem(org.eclipse.lsp4j.CompletionItem unresolved, DOMDocument xmlDocument, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Returns the completion item with the empty fields resolved.org.eclipse.lsp4j.CompletionItemXMLLanguageService.resolveCompletionItem(org.eclipse.lsp4j.CompletionItem unresolved, DOMDocument xmlDocument, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) default voidIXMLValidationService.validate(DOMDocument document) Performs XML document validationvoidIXMLValidationService.validate(DOMDocument document, Map<String, Object> validationArgs) Performs XML document validationConstructors in org.eclipse.lemminx.services with parameters of type DOMDocumentModifierConstructorDescriptionCodeActionRequest(org.eclipse.lsp4j.Diagnostic diagnostic, org.eclipse.lsp4j.Range range, DOMDocument document, IComponentProvider componentProvider, SharedSettings sharedSettings) ResolveCodeActionRequest(org.eclipse.lsp4j.CodeAction unresolved, DOMDocument document, IComponentProvider componentProvider, SharedSettings sharedSettings) ResolveCompletionItemRequest(org.eclipse.lsp4j.CompletionItem unresolved, DOMDocument document, IComponentProvider componentProvider, SharedSettings sharedSettings) -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that return DOMDocumentMethods in org.eclipse.lemminx.services.extensions with parameters of type DOMDocumentModifier and TypeMethodDescriptionISymbolsProviderParticipant.applyFor(DOMDocument document) Returns the symbol strategy to apply for the given DOM document :ISymbolsProviderParticipant.SymbolStrategy.UNADAPTABLE: means that the participant is not applicable for the documentISymbolsProviderParticipant.SymbolStrategy.INSERT: means that the participant will insert symbols on the top of the standards symbols.voidIDocumentLifecycleParticipant.didChange(DOMDocument document) Handler called when an XML document is changed.voidIDocumentLifecycleParticipant.didClose(DOMDocument document) Handler called when an XML document is closed.voidIDocumentLifecycleParticipant.didOpen(DOMDocument document) Handler called when an XML document is opened.voidIDocumentLifecycleParticipant.didSave(DOMDocument document) Handler called when an XML document is saved.voidIDocumentColorParticipant.doColorPresentations(DOMDocument xmlDocument, org.eclipse.lsp4j.ColorPresentationParams params, List<org.eclipse.lsp4j.ColorPresentation> presentations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Fill the given thepresentationslist ofColorPresentationfor the given DOM documentxmlDocumentand the givenparamscolors presentation parameter.voidIDocumentColorParticipant.doDocumentColor(DOMDocument xmlDocument, List<org.eclipse.lsp4j.ColorInformation> colors, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Fill the given thecolorslist ofColorInformationfor the given DOM documentxmlDocument.voidIDocumentLinkParticipant.findDocumentLinks(DOMDocument document, List<org.eclipse.lsp4j.DocumentLink> links) Find document links of the given XML document.voidISymbolsProviderParticipant.findDocumentSymbols(DOMDocument document, DocumentSymbolsResult symbols, XMLSymbolFilter filter, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Fill the given document symbol result with custom document symbol.voidAbstractReferenceParticipant.findReference(DOMDocument document, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) voidIReferenceParticipant.findReference(DOMDocument document, org.eclipse.lsp4j.Position position, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) voidISymbolsProviderParticipant.findSymbolInformations(DOMDocument document, SymbolInformationResult symbols, XMLSymbolFilter filter, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Fill the given symbol information result with custom symbol informations.protected abstract booleanAbstractDefinitionParticipant.match(DOMDocument document) Returns true if the definition support is applicable for the given document and false otherwise.protected abstract booleanAbstractReferenceParticipant.match(DOMDocument document) Returns true if the reference support is applicable for the given document and false otherwise.protected abstract booleanAbstractTypeDefinitionParticipant.match(DOMDocument document) Returns true if the type definition support is applicable for the given document and false otherwise. -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.codeaction
Methods in org.eclipse.lemminx.services.extensions.codeaction that return DOMDocument -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.codelens
Methods in org.eclipse.lemminx.services.extensions.codelens that return DOMDocument -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.commands
Methods in org.eclipse.lemminx.services.extensions.commands with parameters of type DOMDocumentModifier and TypeMethodDescriptionprotected abstract ObjectAbstractDOMDocumentCommandHandler.executeCommand(DOMDocument document, org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Executes a command -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.completion
Methods in org.eclipse.lemminx.services.extensions.completion that return DOMDocumentModifier and TypeMethodDescriptionICompletionItemResolverRequest.getDocument()Returns the DOM document. -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.diagnostics
Methods in org.eclipse.lemminx.services.extensions.diagnostics with parameters of type DOMDocumentModifier and TypeMethodDescriptionvoidIDiagnosticsParticipant.doDiagnostics(DOMDocument xmlDocument, List<org.eclipse.lsp4j.Diagnostic> diagnostics, XMLValidationSettings validationSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Validate the given XML document. -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.save
Method parameters in org.eclipse.lemminx.services.extensions.save with type arguments of type DOMDocumentModifier and TypeMethodDescriptionvoidISaveContext.collectDocumentToValidate(Predicate<DOMDocument> validateDocumentPredicate) This method is called to collect document to validate after the save. -
Uses of DOMDocument in org.eclipse.lemminx.services.format
Methods in org.eclipse.lemminx.services.format with parameters of type DOMDocumentModifier and TypeMethodDescriptionList<? extends org.eclipse.lsp4j.TextEdit>XMLFormatterDocument.format(DOMDocument document, int start, int end) Constructors in org.eclipse.lemminx.services.format with parameters of type DOMDocumentModifierConstructorDescriptionXMLFormatterDocument(DOMDocument xmlDocument, org.eclipse.lsp4j.Range range, SharedSettings sharedSettings, Collection<IFormatterParticipant> formatterParticipants) XML formatter document. -
Uses of DOMDocument in org.eclipse.lemminx.services.snippets
Methods in org.eclipse.lemminx.services.snippets with parameters of type DOMDocumentModifier and TypeMethodDescriptionprotected abstract booleanNewFileSnippetContext.isMatchType(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.telemetry
Methods in org.eclipse.lemminx.telemetry with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic voidDocumentTelemetryInfo.collectDocumentTelemetryInfo(DOMDocument doc, ContentModelManager manager, TelemetryCache cache) voidTelemetryManager.onDidOpen(DOMDocument document, ContentModelManager manager) -
Uses of DOMDocument in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils that return DOMDocumentModifier and TypeMethodDescriptionstatic DOMDocumentDOMUtils.loadDocument(String documentURI, URIResolverExtensionManager resolverExtensionManager) Returns the DOM document from the given XML Schema uri.Methods in org.eclipse.lemminx.utils with parameters of type DOMDocumentModifier and TypeMethodDescriptionstatic InputSourceDOMUtils.createInputSource(DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.createRange(int startOffset, int endOffset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.getElementDeclMissingContentOrCategory(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.getLastDTDDeclParameter(int offset, DOMDocument document) Will give the range for the last DTD Decl parameter at 'offset'.static org.eclipse.lsp4j.RangeXMLPositionUtility.getLastValidDTDDeclParameter(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.getLastValidDTDDeclParameter(int offset, DOMDocument document, boolean selectWholeParameter) Will give the range for the last VALID DTD Decl parameter at 'offset'.static org.eclipse.lsp4j.RangeXMLPositionUtility.getLastValidDTDDeclParameterOrUnrecognized(int offset, DOMDocument document) Will give the range for the last VALID DTD Decl parameter at 'offset'.static org.eclipse.lsp4j.PositionXMLPositionUtility.getMatchingTagPosition(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position) static org.eclipse.lsp4j.RangeXMLPositionUtility.getTagNameRange(TokenType tokenType, int startOffset, DOMDocument xmlDocument) static booleanDOMUtils.isCatalog(DOMDocument document) Returns true if the XML document is a XML Catalog and false otherwise.static booleanXMLPositionUtility.isInAttributeValue(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position) Returns true if the given position is within an attribute value, and false otherwisestatic booleanDOMUtils.isRelaxNG(DOMDocument document) Returns true if the XML document is a RelaxNG grammar and false otherwise.static booleanDOMUtils.isRelaxNGXMLSyntax(DOMDocument document) Returns true if the XML document is a RelaxNG grammar XML syntax and false otherwise.static booleanDOMUtils.isXSD(DOMDocument document) Returns true if the XML document is a XML Schema and false otherwise.static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAllAttributes(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributeFromGivenNameAt(String attrName, int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributeNameAt(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributeNameFromGivenNameAt(String attrName, int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributePrefixFromGivenNameAt(String attrName, int offset, DOMDocument document) Returns the range of the prefix of an attribute name For example, if attrName = "xsi:example", the range for "xsi" will be returnedstatic org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributeValueAt(String attrName, int offset, boolean withouQuote, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributeValueAt(String attrName, int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributeValueByGivenValueAt(String attrValue, int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectAttributeValueFromGivenValue(String attrValue, int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectChildEndTag(String childTag, int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectChildNodeAttributeValueFromGivenNameAt(String childNodeName, String attrName, int offset, DOMDocument document) Returns the range of the attribute value of a specific child node, if it existsstatic org.eclipse.lsp4j.RangeXMLPositionUtility.selectContent(int offset, DOMDocument document) static intXMLPositionUtility.selectCurrentTagOffset(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectDTDDeclTagNameAt(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectDTDElementDeclAt(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectEndTagName(int offset, DOMDocument document) XMLPositionUtility.selectEntityReference(int offset, DOMDocument document) Returns the range of the entity reference in a text node (ex : &) and null otherwise.XMLPositionUtility.selectEntityReference(int offset, DOMDocument document, boolean endsWithSemicolon) Returns the range of the entity reference in a text node (ex : &) and null otherwise.static org.eclipse.lsp4j.RangeXMLPositionUtility.selectFirstChild(int offset, DOMDocument document) Returns the range covering the first child of the node located at offset.static org.eclipse.lsp4j.RangeXMLPositionUtility.selectFirstNonWhitespaceText(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectRootAttributeValue(String attrName, DOMDocument document) Finds the root element of the given document and returns the attribute valueRangefor the attributeattrName.static org.eclipse.lsp4j.RangeXMLPositionUtility.selectRootStartTag(DOMDocument document) Returns the range of the root start tag (excludes the '<') of the givendocumentand null otherwise.static org.eclipse.lsp4j.RangeXMLPositionUtility.selectStartTagName(int offset, DOMDocument document) static org.eclipse.lsp4j.RangeXMLPositionUtility.selectTrimmedText(int offset, DOMDocument document) Returns the range covering the trimmed text belonging to the node located at offset.static org.eclipse.lsp4j.RangeXMLPositionUtility.selectWholeTag(int offset, DOMDocument document)