Uses of Class
org.eclipse.lemminx.commons.BadLocationException
Packages that use BadLocationException
Package
Description
-
Uses of BadLocationException in org.eclipse.lemminx.commons
Methods in org.eclipse.lemminx.commons that throw BadLocationExceptionModifier and TypeMethodDescriptionILineTracker.getLineDelimiter(int line) Returns the line delimiter of the specified line.final StringTreeLineTracker.getLineDelimiter(int line) org.eclipse.lemminx.commons.LineILineTracker.getLineInformation(int line) Returns a line description of the given line.final org.eclipse.lemminx.commons.LineTreeLineTracker.getLineInformation(int line) org.eclipse.lemminx.commons.LineILineTracker.getLineInformationOfOffset(int offset) Returns a line description of the line at the given offset.final org.eclipse.lemminx.commons.LineTreeLineTracker.getLineInformationOfOffset(int offset) intILineTracker.getLineLength(int line) Returns length of the specified line including the line's delimiter.final intTreeLineTracker.getLineLength(int line) intILineTracker.getLineNumberOfOffset(int offset) Returns the line number the character at the given offset belongs to.final intTreeLineTracker.getLineNumberOfOffset(int offset) intILineTracker.getLineOffset(int line) Returns the position of the first character of the specified line.final intTreeLineTracker.getLineOffset(int line) intILineTracker.getNumberOfLines(int offset, int length) Returns the number of lines which are occupied by a given text range.final intTreeLineTracker.getNumberOfLines(int offset, int length) intILineTracker.getOffsetAt(org.eclipse.lsp4j.Position position) intTreeLineTracker.getOffsetAt(org.eclipse.lsp4j.Position position) org.eclipse.lsp4j.PositionILineTracker.getPositionAt(int position) final org.eclipse.lsp4j.PositionTreeLineTracker.getPositionAt(int offset) TextDocument.lineDelimiter(int lineNumber) intTextDocument.lineOffsetAt(int position) TextDocument.lineText(int lineNumber) intTextDocument.offsetAt(org.eclipse.lsp4j.Position position) org.eclipse.lsp4j.PositionTextDocument.positionAt(int position) voidInforms the line tracker about the specified change in the tracked text.final void -
Uses of BadLocationException in org.eclipse.lemminx.customservice.synapse.expression
Methods in org.eclipse.lemminx.customservice.synapse.expression that throw BadLocationExceptionModifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.PositionExpressionCompletionUtils.getMediatorPosition(String documentUri, org.eclipse.lsp4j.Position position) Get the mediator position that need to be used to get the serverless tryout info for the completions.static 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 BadLocationException in org.eclipse.lemminx.customservice.synapse.expression.pojo
Methods in org.eclipse.lemminx.customservice.synapse.expression.pojo that throw BadLocationExceptionModifier and TypeMethodDescriptionExpressionCompletionRequest.getLineIndentInfo()ExpressionCompletionRequest.getXMLGenerator() -
Uses of BadLocationException in org.eclipse.lemminx.customservice.synapse.mediator
Methods in org.eclipse.lemminx.customservice.synapse.mediator that throw BadLocationExceptionModifier 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 BadLocationException in org.eclipse.lemminx.customservice.synapse.mediatorService
Methods in org.eclipse.lemminx.customservice.synapse.mediatorService that throw BadLocationException -
Uses of BadLocationException in org.eclipse.lemminx.dom
Methods in org.eclipse.lemminx.dom that throw BadLocationExceptionModifier and TypeMethodDescriptionDOMDocument.getLineIndentInfo(int lineNumber) DOMDocument.lineDelimiter(int lineNumber) DOMDocument.lineText(int lineNumber) intDOMDocument.offsetAt(org.eclipse.lsp4j.Position position) org.eclipse.lsp4j.PositionDOMDocument.positionAt(int offset) -
Uses of BadLocationException in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints
Methods in org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints that throw BadLocationExceptionModifier 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 BadLocationException in org.eclipse.lemminx.extensions.prolog
Methods in org.eclipse.lemminx.extensions.prolog that throw BadLocationExceptionModifier 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 BadLocationException in org.eclipse.lemminx.extensions.xsi
Methods in org.eclipse.lemminx.extensions.xsi that throw BadLocationExceptionModifier 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 BadLocationException in org.eclipse.lemminx.services
Methods in org.eclipse.lemminx.services that throw BadLocationExceptionModifier and TypeMethodDescriptionCodeActionRequest.getLineIndentInfo()CodeActionRequest.getXMLGenerator()ResolveCodeActionRequest.getXMLGenerator(org.eclipse.lsp4j.Range range) -
Uses of BadLocationException in org.eclipse.lemminx.services.extensions
Methods in org.eclipse.lemminx.services.extensions that throw BadLocationExceptionModifier and TypeMethodDescriptionIPositionRequest.getLineIndentInfo()Returns the line indent information of the offset where completion was triggered. -
Uses of BadLocationException in org.eclipse.lemminx.services.extensions.codeaction
Methods in org.eclipse.lemminx.services.extensions.codeaction that throw BadLocationExceptionModifier and TypeMethodDescriptionICodeActionRequest.getXMLGenerator()ICodeActionResolverRequest.getXMLGenerator(org.eclipse.lsp4j.Range range) Returns the XML generator and null otherwise. -
Uses of BadLocationException in org.eclipse.lemminx.services.extensions.completion
Methods in org.eclipse.lemminx.services.extensions.completion that throw BadLocationException -
Uses of BadLocationException in org.eclipse.lemminx.services.format
Methods in org.eclipse.lemminx.services.format that throw BadLocationExceptionModifier and TypeMethodDescriptionstatic StringTextEditUtils.applyEdits(TextDocument document, List<? extends org.eclipse.lsp4j.TextEdit> edits) List<? extends org.eclipse.lsp4j.TextEdit>XMLFormatterDocument.format()Returns a List containing multiple TextEdit, containing the newly formatted changes of an XML document.List<? extends org.eclipse.lsp4j.TextEdit>XMLFormatterDocumentOld.format()Returns a List containing a single TextEdit, containing the newly formatted changes of this.textDocument -
Uses of BadLocationException in org.eclipse.lemminx.utils
Methods in org.eclipse.lemminx.utils that throw BadLocationExceptionModifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.DocumentLinkXMLPositionUtility.createDocumentLink(DOMRange target, String location, boolean adjust) Create a document link