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

Packages that use TextDocument
org.eclipse.lemminx.commons
org.eclipse.lemminx.dom
org.eclipse.lemminx.services.format
org.eclipse.lemminx.utils

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

Classes in org.eclipse.lemminx.commons with type parameters of type TextDocument
`class` `TextDocuments<T extends TextDocument>` A manager for simple text documents

Subclasses of TextDocument in org.eclipse.lemminx.commons
`class` `ModelTextDocument<T>` A `TextDocument` which is associate to a model loaded in async.

Constructors in org.eclipse.lemminx.commons with parameters of type TextDocument
`TextDocumentVersionChecker​(TextDocument textDocument, int version)`

Constructor parameters in org.eclipse.lemminx.commons with type arguments of type TextDocument
`ModelTextDocument​(String text, String uri, BiFunction<TextDocument,​org.eclipse.lsp4j.jsonrpc.CancelChecker,​T> parse)`
`ModelTextDocument​(org.eclipse.lsp4j.TextDocumentItem document, BiFunction<TextDocument,​org.eclipse.lsp4j.jsonrpc.CancelChecker,​T> parse)`
`ModelTextDocuments​(BiFunction<TextDocument,​org.eclipse.lsp4j.jsonrpc.CancelChecker,​T> parse)`

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

Methods in org.eclipse.lemminx.dom that return TextDocument
`TextDocument` DOMDocument.`getTextDocument()`

Methods in org.eclipse.lemminx.dom with parameters of type TextDocument
`DOMDocument` DOMParser.`parse​(TextDocument document, URIResolverExtensionManager resolverExtensionManager)`
`DOMDocument` DOMParser.`parse​(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent)`
`DOMDocument` DOMParser.`parse​(TextDocument document, URIResolverExtensionManager resolverExtensionManager, boolean ignoreWhitespaceContent, org.eclipse.lsp4j.jsonrpc.CancelChecker monitor)`

Constructors in org.eclipse.lemminx.dom with parameters of type TextDocument
`DOMDocument​(TextDocument textDocument, URIResolverExtensionManager resolverExtensionManager)`

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

Constructors in org.eclipse.lemminx.services.format with parameters of type TextDocument
`XMLFormatterDocumentOld​(TextDocument textDocument, org.eclipse.lsp4j.Range range, SharedSettings sharedSettings, Collection<IFormatterParticipant> formatterParticipants)` XML formatter document.

### Uses of TextDocument in org.eclipse.lemminx.utils

Methods in org.eclipse.lemminx.utils with parameters of type TextDocument
`static String` TextEditUtils.`applyEdits​(TextDocument document, List<? extends org.eclipse.lsp4j.TextEdit> edits)`
`static org.eclipse.lsp4j.TextEdit` TextEditUtils.`createTextEditIfNeeded​(int from, int to, String expectedContent, TextDocument textDocument)` Returns the `TextEdit` to insert the given expected content from the given range (from, to) of the given text document and null otherwise.