public class EntitiesDocumentationUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EntitiesDocumentationUtils.EntityOriginType |
static class |
EntitiesDocumentationUtils.PredefinedEntity
Predefined entities.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lsp4j.MarkupContent |
getDocumentation(DTDEntityDecl entity,
EntitiesDocumentationUtils.EntityOriginType type,
boolean markdown) |
static org.eclipse.lsp4j.MarkupContent |
getDocumentation(String entityName,
String entityValue,
EntitiesDocumentationUtils.EntityOriginType type,
boolean markdown) |
static org.eclipse.lsp4j.MarkupContent |
getDocumentation(String entityName,
String entityValue,
String systemID,
String publicID,
String targetURI,
EntitiesDocumentationUtils.EntityOriginType type,
boolean markdown)
Returns the entity documentation.
|
public static org.eclipse.lsp4j.MarkupContent getDocumentation(String entityName, String entityValue, EntitiesDocumentationUtils.EntityOriginType type, boolean markdown)
public static org.eclipse.lsp4j.MarkupContent getDocumentation(DTDEntityDecl entity, EntitiesDocumentationUtils.EntityOriginType type, boolean markdown)
public static org.eclipse.lsp4j.MarkupContent getDocumentation(String entityName, String entityValue, String systemID, String publicID, String targetURI, EntitiesDocumentationUtils.EntityOriginType type, boolean markdown)
entityName
- the entity name.entityValue
- the entity value.type
- the entity type (local, external or predefined)markdown
- true if the documentation can be formatted as markdown and
false otherwise.Copyright © 2022. All rights reserved.