Class XSDDocumentation
- java.lang.Object
-
- org.eclipse.lemminx.extensions.xsd.contentmodel.XSDDocumentation
-
public class XSDDocumentation extends Object
XSD documentation Represents documentation coming from an XML schema file
-
-
Constructor Summary
Constructors Constructor Description XSDDocumentation(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormattedDocumentation(boolean html)Returns formatted documentation that displays contents of the documentation element (if exists) and the appinfo element (if exists).
-
-
-
Constructor Detail
-
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 Detail
-
getFormattedDocumentation
public String getFormattedDocumentation(boolean html)
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)
-
-