Class XMLMinifierDocument
java.lang.Object
org.eclipse.lemminx.extensions.minify.XMLMinifierDocument
XML minifier which generates several text edits to remove unnecessary spaces.
- Author:
- Angelo ZERR
-
Constructor Summary
ConstructorsConstructorDescriptionXMLMinifierDocument(DOMDocument xmlDocument, org.eclipse.lsp4j.Range range, SharedSettings sharedSettings) XML minifier document. -
Method Summary
Modifier and TypeMethodDescriptionList<? extends org.eclipse.lsp4j.TextEdit> minify()Returns the list of TextEdits to minify the XML document.List<? extends org.eclipse.lsp4j.TextEdit> minify(DOMDocument document, int start, int end)
-
Constructor Details
-
Method Details
-
minify
Returns the list of TextEdits to minify the XML document.- Returns:
- the list of TextEdits to minify the XML document.
- Throws:
BadLocationException
-
minify
-