public class MarkupContentFactory extends Object
MarkupContent
Modifier and Type | Class and Description |
---|---|
static interface |
MarkupContentFactory.IMarkupKindSupport |
Constructor and Description |
---|
MarkupContentFactory() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.MarkupContent |
createMarkupContent(String value,
String preferredKind,
MarkupContentFactory.IMarkupKindSupport support)
Create the markup content according the given markup kind and the capability
of the client.
|
static org.eclipse.lsp4j.MarkupContent |
creatMarkupContent(List<String> values,
MarkupContentFactory.IMarkupKindSupport request)
Create the markup content according the given markup kind and the capability
of the client.
|
public static org.eclipse.lsp4j.MarkupContent createMarkupContent(String value, String preferredKind, MarkupContentFactory.IMarkupKindSupport support)
value
- the documentation valuepreferredKind
- the preferred markup kindpublic static org.eclipse.lsp4j.MarkupContent creatMarkupContent(List<String> values, MarkupContentFactory.IMarkupKindSupport request)
values
- the list of documentation valuesCopyright © 2020. All rights reserved.