Class XSDDocumentation
java.lang.Object
org.eclipse.lemminx.extensions.xsd.contentmodel.XSDDocumentation
XSD documentation
Represents documentation coming from an XML schema file
-
Constructor Summary
ConstructorsConstructorDescriptionXSDDocumentation(org.apache.xerces.xs.XSObjectList annotations, String value, SchemaDocumentationType docStrategy, boolean convertToPlainText) XSDDocumentation(org.apache.xerces.xs.XSObjectList annotations, SchemaDocumentationType docStrategy, boolean convertToPlainText) -
Method Summary
Modifier and TypeMethodDescriptiongetFormattedDocumentation(boolean html) Returns formatted documentation that displays contents of the documentation element (if exists) and the appinfo element (if exists).
-
Constructor Details
-
XSDDocumentation
public XSDDocumentation(org.apache.xerces.xs.XSObjectList annotations, SchemaDocumentationType docStrategy, boolean convertToPlainText) -
XSDDocumentation
public XSDDocumentation(org.apache.xerces.xs.XSObjectList annotations, String value, SchemaDocumentationType docStrategy, boolean convertToPlainText)
-
-
Method Details
-
getFormattedDocumentation
Returns formatted documentation that displays contents of the documentation element (if exists) and the appinfo element (if exists). The returned documentation will return raw html ifhtmlis true. Otherwise, the returned documentation will be plaintext.- Parameters:
html- if true, the return value will contain raw html- Returns:
- formatted documentation that displays contents of the documentation element (if exists) and the appinfo element (if exists)
-