## Uses of Class
org.eclipse.lemminx.commons.BadLocationException

Packages that use BadLocationException
org.eclipse.lemminx.commons
org.eclipse.lemminx.dom
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints
org.eclipse.lemminx.extensions.minify
org.eclipse.lemminx.extensions.prolog
org.eclipse.lemminx.extensions.xsi
org.eclipse.lemminx.services
org.eclipse.lemminx.services.extensions
org.eclipse.lemminx.services.extensions.codeaction
org.eclipse.lemminx.services.extensions.completion
org.eclipse.lemminx.services.format
org.eclipse.lemminx.utils

### Uses of BadLocationException in org.eclipse.lemminx.commons

Methods in org.eclipse.lemminx.commons that throw BadLocationException
`String` ILineTracker.`getLineDelimiter​(int line)` Returns the line delimiter of the specified line.
`String` TreeLineTracker.`getLineDelimiter​(int line)`
`org.eclipse.lemminx.commons.Line` ILineTracker.`getLineInformation​(int line)` Returns a line description of the given line.
`org.eclipse.lemminx.commons.Line` TreeLineTracker.`getLineInformation​(int line)`
`org.eclipse.lemminx.commons.Line` ILineTracker.`getLineInformationOfOffset​(int offset)` Returns a line description of the line at the given offset.
`org.eclipse.lemminx.commons.Line` TreeLineTracker.`getLineInformationOfOffset​(int offset)`
`int` ILineTracker.`getLineLength​(int line)` Returns length of the specified line including the line's delimiter.
`int` TreeLineTracker.`getLineLength​(int line)`
`int` ILineTracker.`getLineNumberOfOffset​(int offset)` Returns the line number the character at the given offset belongs to.
`int` TreeLineTracker.`getLineNumberOfOffset​(int offset)`
`int` ILineTracker.`getLineOffset​(int line)` Returns the position of the first character of the specified line.
`int` TreeLineTracker.`getLineOffset​(int line)`
`int` ILineTracker.`getNumberOfLines​(int offset, int length)` Returns the number of lines which are occupied by a given text range.
`int` TreeLineTracker.`getNumberOfLines​(int offset, int length)`
`int` ILineTracker.`getOffsetAt​(org.eclipse.lsp4j.Position position)`
`int` TreeLineTracker.`getOffsetAt​(org.eclipse.lsp4j.Position position)`
`org.eclipse.lsp4j.Position` ILineTracker.`getPositionAt​(int position)`
`org.eclipse.lsp4j.Position` TreeLineTracker.`getPositionAt​(int offset)`
`int` TextDocument.`lineAt​(int position)` Returns the line number the character at the given offset belongs to.
`String` TextDocument.`lineDelimiter​(int lineNumber)`
`int` TextDocument.`lineOffsetAt​(int position)`
`String` TextDocument.`lineText​(int lineNumber)`
`int` TextDocument.`offsetAt​(org.eclipse.lsp4j.Position position)`
`org.eclipse.lsp4j.Position` TextDocument.`positionAt​(int position)`
`void` ILineTracker.`replace​(int offset, int length, String text)` Informs the line tracker about the specified change in the tracked text.
`void` TreeLineTracker.`replace​(int offset, int length, String text)`

### Uses of BadLocationException in org.eclipse.lemminx.dom

Methods in org.eclipse.lemminx.dom that throw BadLocationException
`LineIndentInfo` DOMDocument.`getLineIndentInfo​(int lineNumber)`
`String` DOMDocument.`lineDelimiter​(int lineNumber)`
`String` DOMDocument.`lineText​(int lineNumber)`
`int` DOMDocument.`offsetAt​(org.eclipse.lsp4j.Position position)`
`org.eclipse.lsp4j.Position` DOMDocument.`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 BadLocationException
`static org.eclipse.lsp4j.TextDocumentEdit` NoGrammarConstraintsCodeAction.`createDocTypeEdit​(String dtdFileName, DOMDocument document, SharedSettings sharedSettings)`
`protected abstract org.eclipse.lsp4j.TextDocumentEdit` AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant.`createFileEdit​(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)`
`protected org.eclipse.lsp4j.TextDocumentEdit` GenerateDocTypeCodeActionResolver.`createFileEdit​(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)`
`protected org.eclipse.lsp4j.TextDocumentEdit` GenerateRelaxNGSchemaCodeActionResolver.`createFileEdit​(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)`
`protected org.eclipse.lsp4j.TextDocumentEdit` GenerateXMLModelWithDTDCodeActionResolver.`createFileEdit​(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)`
`protected org.eclipse.lsp4j.TextDocumentEdit` GenerateXMLModelWithXSDCodeActionResolver.`createFileEdit​(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)`
`protected org.eclipse.lsp4j.TextDocumentEdit` GenerateXSINoNamespaceSchemaCodeActionResolver.`createFileEdit​(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)`
`static org.eclipse.lsp4j.TextDocumentEdit` NoGrammarConstraintsCodeAction.`createXmlModelEdit​(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings)`
`static org.eclipse.lsp4j.TextDocumentEdit` NoGrammarConstraintsCodeAction.`createXSINoNamespaceSchemaLocationEdit​(String schemaFileName, DOMDocument document, SharedSettings sharedSettings)`
`static org.eclipse.lsp4j.TextDocumentEdit` NoGrammarConstraintsCodeAction.`createXSISchemaLocationEdit​(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings)`

### Uses of BadLocationException in org.eclipse.lemminx.extensions.minify

Methods in org.eclipse.lemminx.extensions.minify that throw BadLocationException
`List<? extends org.eclipse.lsp4j.TextEdit>` XMLMinifierDocument.`minify()` Returns the list of TextEdits to minify the XML document.

### Uses of BadLocationException in org.eclipse.lemminx.extensions.prolog

Methods in org.eclipse.lemminx.extensions.prolog that throw BadLocationException
`static void` PrologModel.`computeAttributeNameCompletionResponses​(ICompletionRequest request, ICompletionResponse response, org.eclipse.lsp4j.Range editRange, DOMDocument document, SharedSettings sharedSettings)`
`static void` PrologModel.`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 BadLocationException
`static void` XSISchemaModel.`computeCompletionResponses​(ICompletionRequest request, ICompletionResponse response, DOMDocument document, boolean generateValue, SharedSettings sharedSettings)`
`static void` XSISchemaModel.`computeValueCompletionResponses​(ICompletionRequest request, ICompletionResponse response, DOMDocument document)`

### Uses of BadLocationException in org.eclipse.lemminx.services

Methods in org.eclipse.lemminx.services that throw BadLocationException
`LineIndentInfo` CodeActionRequest.`getLineIndentInfo()`
`XMLGenerator` CodeActionRequest.`getXMLGenerator()`
`XMLGenerator` 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 BadLocationException
`LineIndentInfo` IPositionRequest.`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 BadLocationException
`XMLGenerator` ICodeActionRequest.`getXMLGenerator()`
`XMLGenerator` 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
`XMLGenerator` ICompletionRequest.`getXMLGenerator()`

### Uses of BadLocationException in org.eclipse.lemminx.services.format

Methods in org.eclipse.lemminx.services.format that throw BadLocationException
`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 BadLocationException
`static String` TextEditUtils.`applyEdits​(TextDocument document, List<? extends org.eclipse.lsp4j.TextEdit> edits)`
`static org.eclipse.lsp4j.DocumentLink` XMLPositionUtility.`createDocumentLink​(DOMRange target, String location, boolean adjust)` Create a document link