Modifier and Type | Method and Description |
---|---|
FormatElementCategory |
ContentModelFormatterParticipant.getFormatElementCategory(DOMElement element,
XMLFormattingConstraints parentConstraints,
Map<String,Collection<CMDocument>> formattingContext,
SharedSettings sharedSettings) |
Modifier and Type | Method and Description |
---|---|
boolean |
XSIFormatterParticipant.formatAttributeValue(DOMAttr attr,
XMLFormatterDocument formatterDocument,
XMLFormattingConstraints parentConstraints,
XMLFormattingOptions formattingOptions,
List<org.eclipse.lsp4j.TextEdit> edits) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IFormatterParticipant.formatAttributeValue(DOMAttr attr,
XMLFormatterDocument formatterDocument,
XMLFormattingConstraints parentConstraints,
XMLFormattingOptions formattingOptions,
List<org.eclipse.lsp4j.TextEdit> edits)
Format the given attribute value.
|
default FormatElementCategory |
IFormatterParticipant.getFormatElementCategory(DOMElement element,
XMLFormattingConstraints parentConstraints,
Map<String,Collection<CMDocument>> formattingContext,
SharedSettings sharedSettings)
Returns the format element category for the given DOM element and null
otherwise.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLFormattingConstraints.copyConstraints(XMLFormattingConstraints constraints)
Initializes the values in this formatting constraint with values from
constraints
|
void |
XMLFormatterDocument.format(DOMNode child,
XMLFormattingConstraints parentConstraints,
int start,
int end,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
DOMAttributeFormatter.formatAttribute(DOMAttr attr,
int prevOffset,
boolean singleAttribute,
boolean useSettings,
XMLFormattingConstraints parentConstraints,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
XMLFormatterDocument.formatAttributeValue(DOMAttr attr,
XMLFormattingConstraints parentConstraints,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
DOMCDATAFormatter.formatCDATASection(DOMCDATASection cDATANode,
XMLFormattingConstraints parentConstraints,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
XMLFormatterDocument.formatChildren(DOMNode currentDOMNode,
XMLFormattingConstraints parentConstraints,
int start,
int end,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
DOMCommentFormatter.formatComment(DOMComment commentNode,
XMLFormattingConstraints parentConstraints,
int startRange,
int endRange,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
DOMDocTypeFormatter.formatDocType(DOMDocumentType docType,
XMLFormattingConstraints parentConstraints,
int start,
int end,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
DOMElementFormatter.formatElement(DOMElement element,
XMLFormattingConstraints parentConstraints,
int start,
int end,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
DOMProcessingInstructionFormatter.formatProcessingInstruction(DOMProcessingInstruction processingInstruction,
XMLFormattingConstraints parentConstraints,
List<org.eclipse.lsp4j.TextEdit> edits) |
void |
DOMTextFormatter.formatText(DOMText textNode,
XMLFormattingConstraints parentConstraints,
List<org.eclipse.lsp4j.TextEdit> edits) |
FormatElementCategory |
XMLFormatterDocument.getFormatElementCategory(DOMElement element,
XMLFormattingConstraints parentConstraints)
Returns the format element category of the given DOM element.
|
Copyright © 2022. All rights reserved.