Class RNCSettings
java.lang.Object
org.eclipse.lemminx.extensions.relaxng.grammar.rnc.settings.RNCSettings
RNC settings, mapped from
xml.rnc.*.
Follows the ContentModelSettings pattern: a settings class
deserialized from the client's xml JSON object via
JSONUtility.toModel(Object, Class).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RNCSettingsgetRNCSettings(Object initSettings) Extracts RNC settings from the given initialization options.voidsetFormat(RNCFormattingSettings format)
-
Constructor Details
-
RNCSettings
public RNCSettings()
-
-
Method Details
-
getFormat
-
setFormat
-
getRNCSettings
Extracts RNC settings from the given initialization options.The
initSettingsobject is the deserialized JSON under thexmlkey (afterAllXMLSettings.getAllXMLSettings()). This method extracts therncsub-object from it.- Parameters:
initSettings- the settings object (content underxml).- Returns:
- the RNC settings, or
nullif not present.
-