Package org.eclipse.lemminx.settings
Class XMLPreferences
java.lang.Object
org.eclipse.lemminx.settings.XMLPreferences
XML Preferences
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharReturns the actual quotation value as a char.Returns the actual quotation value as a String.Returns the quote styleReturns the showSchemaDocumentationTypevoidmerge(XMLPreferences newPreferences) Merges the contents ofnewPreferencesto the currentXMLPreferencesinstancevoidsetQuoteStyle(QuoteStyle quoteStyle) Sets the quote stylevoidsetShowSchemaDocumentationType(SchemaDocumentationType showSchemaDocumentationType) Sets the showSchemaDocumentationType
-
Field Details
-
DEFAULT_QUOTE_STYLE
-
DEFAULT_SCHEMA_DOCUMENTATION_TYPE
-
-
Constructor Details
-
XMLPreferences
public XMLPreferences()
-
-
Method Details
-
getQuotationAsChar
public char getQuotationAsChar()Returns the actual quotation value as a char. Either a'or". Defaults to". -
getQuotationAsString
Returns the actual quotation value as a String. Either a'or". Defaults to". -
setQuoteStyle
Sets the quote style- Parameters:
quoteStyle-
-
getQuoteStyle
Returns the quote style- Returns:
-
getShowSchemaDocumentationType
Returns the showSchemaDocumentationType -
setShowSchemaDocumentationType
Sets the showSchemaDocumentationType- Parameters:
showSchemaDocumentationType-
-
merge
Merges the contents ofnewPreferencesto the currentXMLPreferencesinstance- Parameters:
newPreferences-
-