Class LanguageBodyEditorManager


  • @OpenApi
    public final class LanguageBodyEditorManager
    extends java.lang.Object
    Registers custom language body editor factories.
    See Also:
    LanguageBodyEditorFactory
    • Constructor Detail

      • LanguageBodyEditorManager

        private LanguageBodyEditorManager()
    • Method Detail

      • addFactory

        @OpenApi
        public void addFactory​(java.lang.String language,
                               LanguageBodyEditorFactory factory)
        Adds body editor factory for given language.
        Parameters:
        language - language body to edit.
        factory - body editor factory to register.
      • removeFactory

        @OpenApi
        public void removeFactory​(java.lang.String language)
        Removes body editor factory for given language.
        Parameters:
        language - language editor factory to remove.