Class ContentModelSettings
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.settings.ContentModelSettings
Content model settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the list of the XML catalogs file path.static ContentModelSettingsgetContentModelXMLSettings(Object initializationOptionsSettings) Returns file associations list between a file name pattern (glob) and an XML Schema file, DTD (system Id).booleanReturns true if cache to download XML Schema, DTD must be activated and false otherwise.voidsetCatalogs(String[] catalogs) Register the list of the XML catalogs file path.voidsetDownloadExternalResources(XMLDownloadExternalResourcesSettings downloadExternalResources) voidsetFileAssociations(XMLFileAssociation[] fileAssociations) voidsetSymbols(XMLSymbolsSettings symbols) voidsetUseCache(Boolean useCache) Set cache to true if cache to download XML Schema, DTD must be activated and false otherwise.voidsetValidation(XMLValidationRootSettings validation)
-
Constructor Details
-
ContentModelSettings
public ContentModelSettings()
-
-
Method Details
-
isUseCache
Returns true if cache to download XML Schema, DTD must be activated and false otherwise.- Returns:
- true if cache to download XML Schema, DTD must be activated and false otherwise.
-
setUseCache
Set cache to true if cache to download XML Schema, DTD must be activated and false otherwise.- Parameters:
useCache- the use cache.
-
setCatalogs
Register the list of the XML catalogs file path.- Parameters:
catalogs-
-
getCatalogs
Returns the list of the XML catalogs file path.- Returns:
- the list of the XML catalogs file path.
-
setFileAssociations
-
getFileAssociations
Returns file associations list between a file name pattern (glob) and an XML Schema file, DTD (system Id).- Returns:
- file associations list between a file name pattern (glob) and an XML Schema file, DTD (system Id).
-
getContentModelXMLSettings
-
setValidation
-
getValidation
-
setSymbols
-
getSymbols
-
isShowReferencedGrammars
public boolean isShowReferencedGrammars() -
getDownloadExternalResources
-
setDownloadExternalResources
public void setDownloadExternalResources(XMLDownloadExternalResourcesSettings downloadExternalResources)
-