Uses of Class
org.eclipse.lemminx.dom.DOMDocument
-
-
Uses of DOMDocument in com.thaiopensource.relaxng.pattern
Methods in com.thaiopensource.relaxng.pattern that return DOMDocument Modifier and Type Method Description DOMDocumentCMRelaxNGDocument. getDocument(String systemId) -
Uses of DOMDocument in org.eclipse.lemminx
Methods in org.eclipse.lemminx that return DOMDocument Modifier and Type Method Description DOMDocumentXMLLanguageServer. getDocument(String uri)DOMDocumentXMLTextDocumentService.SaveContext. getDocument(String uri)Methods in org.eclipse.lemminx that return types with arguments of type DOMDocument Modifier and Type Method Description Collection<ModelTextDocument<DOMDocument>>XMLTextDocumentService. allDocuments()Collection<DOMDocument>XMLLanguageServer. getAllDocuments()ModelTextDocument<DOMDocument>XMLTextDocumentService. getDocument(String uri)Returns the text document from the given uri.Methods in org.eclipse.lemminx with parameters of type DOMDocument Modifier and Type Method Description voidXMLLanguageServer. validate(DOMDocument document, Map<String,Object> validationArgs)Method parameters in org.eclipse.lemminx with type arguments of type DOMDocument Modifier and Type Method Description voidXMLTextDocumentService.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.dom
Methods in org.eclipse.lemminx.dom that return DOMDocument Modifier and Type Method Description DOMDocumentDOMAttr. getOwnerDocument()DOMDocumentDOMDocument. getOwnerDocument()DOMDocumentDOMNode. getOwnerDocument()Returns the owner document and null otherwise.DOMDocumentDOMRange. getOwnerDocument()Returns the owner document.DOMDocumentDTDDeclParameter. getOwnerDocument()DOMDocumentSchemaLocationHint. getOwnerDocument()DOMDocumentDOMParser. parse(String text, String uri, URIResolverExtensionManager resolverExtensionManager)DOMDocumentDOMParser. parse(String text, String uri, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent)DOMDocumentDOMParser. parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager)DOMDocumentDOMParser. parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent)DOMDocumentDOMParser. parse(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)Methods in org.eclipse.lemminx.dom with parameters of type DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description 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.catalog.participants
Methods in org.eclipse.lemminx.extensions.catalog.participants with parameters of type DOMDocument Modifier and Type Method Description List<IFilePathExpression>CatalogFilePathSupportParticipant. collectFilePathExpressions(DOMDocument document)voidXMLCatalogDiagnosticsParticipant. 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) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.colors.participants
Methods in org.eclipse.lemminx.extensions.colors.participants with parameters of type DOMDocument Modifier and Type Method Description voidXMLDocumentColorParticipant. 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 DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description booleanContentModelProvider. adaptFor(DOMDocument document, boolean internal)Returns the content model provider by using standard association (xsi:schemaLocation, xsi:noNamespaceSchemaLocation, doctype) and null otherwise.CMDocumentContentModelProvider. 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.Collection<CMDocument>ContentModelManager. findCMDocument(DOMDocument xmlDocument, String namespaceURI)Collection<CMDocument>ContentModelManager. findCMDocument(DOMDocument xmlDocument, String namespaceURI, boolean withInternal)Returns the declared documents which match the given DOM document.Collection<ContentModelProvider.Identifier>ContentModelProvider. getIdentifiers(DOMDocument xmlDocument, String namespaceURI)Returns the identifiers list from the given document and namespace.Set<ReferencedGrammarInfo>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 DOMDocument Modifier and Type Method Description ISymbolsProviderParticipant.SymbolStrategyContentModelSymbolsProviderParticipant. 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 DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description voidContentModelDiagnosticsParticipant. 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 DOMDocument Constructor Description LSPErrorReporterForXML(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 DOMDocument Modifier and Type Method Description booleanCMDTDContentModelProvider. adaptFor(DOMDocument document, boolean internal)CMDocumentCMDTDContentModelProvider. createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities)Collection<ContentModelProvider.Identifier>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 DOMDocument Modifier and Type Method Description voidDTDDocumentLinkParticipant. 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 DOMDocument Modifier and Type Method Description voidDTDDiagnosticsParticipant. 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 DOMDocument Modifier and Type Method Description protected booleanEntitiesDefinitionParticipant. match(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.extensions.filepath
Methods in org.eclipse.lemminx.extensions.filepath with parameters of type DOMDocument Modifier and Type Method Description List<IFilePathExpression>IFilePathSupportParticipant. collectFilePathExpressions(DOMDocument document)Returns the file path expressions used to mark DOM nodes as file type for the given DOM document and null or empty otherwise.List<IFilePathExpression>FilePathPlugin. findFilePathExpressions(DOMDocument xmlDocument)Return the list ofFilePathExpressionfor the given document and an empty list otherwise. -
Uses of DOMDocument in org.eclipse.lemminx.extensions.prolog
Methods in org.eclipse.lemminx.extensions.prolog with parameters of type DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description voidXMLReferencesDiagnosticParticipant. 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 DOMDocument Modifier and Type Method Description DOMDocumentSearchNode. getOwnerDocument()Methods in org.eclipse.lemminx.extensions.references.search with parameters of type DOMDocument Modifier and Type Method Description Collection<ReferenceLink>SearchEngine. 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 DOMDocument Modifier and Type Method Description List<IFilePathExpression>RNGFilePathSupportParticipant. collectFilePathExpressions(DOMDocument document)voidRNGDiagnosticsParticipant. 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 DOMDocument Modifier and Type Method Description booleanCMRelaxNGContentModelProvider. adaptFor(DOMDocument document, boolean internal)CMDocumentCMRelaxNGContentModelProvider. createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities)Collection<ContentModelProvider.Identifier>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 DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description protected DOMDocumentAbstractLSPErrorReporter. getDOMDocument()Returns the DOM document which is validating.DOMDocumentReferencedGrammarDiagnosticsInfo. getGrammarDocument()Returns the DOM document of the referenced grammar.Methods in org.eclipse.lemminx.extensions.xerces with parameters of type DOMDocument Modifier and Type Method Description protected 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 DOMDocument Constructor Description AbstractLSPErrorReporter(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 DOMDocument Modifier and Type Method Description voidXIncludeDocumentLinkParticipant. 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 DOMDocument Modifier and Type Method Description booleanCMXMLModelContentModelProvider. adaptFor(DOMDocument document, boolean internal)CMDocumentCMXMLModelContentModelProvider. createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities)Collection<ContentModelProvider.Identifier>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 DOMDocument Modifier and Type Method Description booleanCMXSDContentModelProvider. adaptFor(DOMDocument document, boolean internal)CMDocumentCMXSDContentModelProvider. createInternalCMDocument(DOMDocument xmlDocument, boolean resolveExternalEntities)Collection<ContentModelProvider.Identifier>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 DOMDocument Modifier and Type Method Description List<IFilePathExpression>XSDFilePathSupportParticipant. collectFilePathExpressions(DOMDocument document)voidXSDDocumentLinkParticipant. 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 DOMDocument Modifier and Type Method Description voidXSDDiagnosticsParticipant. 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 DOMDocument Constructor Description LSPErrorReporterForXSD(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 DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description static 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.extensions.xsl.participants
Methods in org.eclipse.lemminx.extensions.xsl.participants with parameters of type DOMDocument Modifier and Type Method Description List<IFilePathExpression>XSLFilePathSupportParticipant. collectFilePathExpressions(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.services
Methods in org.eclipse.lemminx.services that return DOMDocument Modifier and Type Method Description DOMDocumentIXMLDocumentProvider. getDocument(String uri)Returns theDOMDocumentinstance from the givenuriand null otherwise.DOMDocumentResolveCompletionItemRequest. getDocument()Methods in org.eclipse.lemminx.services that return types with arguments of type DOMDocument Modifier and Type Method Description default Collection<DOMDocument>IXMLDocumentProvider. getAllDocuments()All known documents XML server is working with at the momentMethods in org.eclipse.lemminx.services with parameters of type DOMDocument Modifier and Type Method Description AutoCloseTagResponseXMLLanguageService. 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)AutoCloseTagResponseXMLCompletions. doTagComplete(DOMDocument xmlDocument, org.eclipse.lsp4j.Position position, XMLCompletionSettings completionSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)AutoCloseTagResponseXMLLanguageService. doTagComplete(DOMDocument xmlDocument, XMLCompletionSettings completionSettings, org.eclipse.lsp4j.Position position)AutoCloseTagResponseXMLLanguageService. 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)DocumentSymbolsResultXMLLanguageService. 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)SymbolInformationResultXMLLanguageService. 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)CompletableFuture<Path>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 DOMDocument Constructor Description CodeActionRequest(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 DOMDocument Modifier and Type Method Description DOMDocumentIPositionRequest. getXMLDocument()Returns the XML document.Methods in org.eclipse.lemminx.services.extensions with parameters of type DOMDocument Modifier and Type Method Description ISymbolsProviderParticipant.SymbolStrategyISymbolsProviderParticipant. 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 Modifier and Type Method Description DOMDocumentIBaseCodeActionRequest. getDocument()Returns the DOM document. -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.codelens
Methods in org.eclipse.lemminx.services.extensions.codelens that return DOMDocument Modifier and Type Method Description DOMDocumentICodeLensRequest. getDocument()Returns the DOM document. -
Uses of DOMDocument in org.eclipse.lemminx.services.extensions.commands
Methods in org.eclipse.lemminx.services.extensions.commands with parameters of type DOMDocument Modifier and Type Method Description protected 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 DOMDocument Modifier and Type Method Description DOMDocumentICompletionItemResolverRequest. 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 DOMDocument Modifier and Type Method Description voidIDiagnosticsParticipant. 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 DOMDocument Modifier and Type Method Description voidISaveContext. 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 DOMDocument Modifier and Type Method Description List<? extends org.eclipse.lsp4j.TextEdit>XMLFormatterDocument. format(DOMDocument document, int start, int end)Constructors in org.eclipse.lemminx.services.format with parameters of type DOMDocument Constructor Description XMLFormatterDocument(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 DOMDocument Modifier and Type Method Description protected abstract booleanNewFileSnippetContext. isMatchType(DOMDocument document) -
Uses of DOMDocument in org.eclipse.lemminx.telemetry
Methods in org.eclipse.lemminx.telemetry with parameters of type DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description static 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 DOMDocument Modifier and Type Method Description static InputSourceDOMUtils. createInputSource(DOMDocument document)static org.eclipse.lsp4j.RangeXMLPositionUtility. createRange(int startOffset, int endOffset, DOMDocument document)static org.eclipse.lsp4j.TextDocumentEditTextEditUtils. creatTextDocumentEdit(DOMDocument document, List<org.eclipse.lsp4j.TextEdit> textEdits)Creates a TextDocumentEdit object for the specified document and list of text editsstatic 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 booleanDOMUtils. isXSL(DOMDocument document)Returns true if the XML document is a XSL 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)static XMLPositionUtility.EntityReferenceRangeXMLPositionUtility. selectEntityReference(int offset, DOMDocument document)Returns the range of the entity reference in a text node (ex : &) and null otherwise.static XMLPositionUtility.EntityReferenceRangeXMLPositionUtility. 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)
-