All Implemented Interfaces:
GomCheckable, GomElement, GomFormatProvider, GomFormElement, GomHideable, GomLangInfoProvider, GomLinkEditorProvider, GomSearchRelevancy, GomTransferHandling, ImportEnabling, LineBreakable, Serializable

@NonExtendable public class GomDom extends AbstractGomDom implements GomTransferHandling
GOM element implementation for DOM.
Since:
2.0
See Also:
  • Field Details

  • Constructor Details

    • GomDom

      public GomDom()
  • Method Details

    • getDefaultTag

      protected String getDefaultTag()
      Description copied from class: AbstractGomElement
      Return the default tag for a gom element.
      Specified by:
      getDefaultTag in class AbstractGomElement
      Returns:
      The elements default tag.
    • getMaxCharacters

      public PositiveInteger getMaxCharacters()
      Maximum number of characters allowed for input
      Since:
      3.0
    • setMaxCharacters

      public void setMaxCharacters(PositiveInteger maxCharacters)
      Sets the maximum number of characters allowed for input
      Since:
      3.0
    • getTable

      public YesNo getTable()
      Indicates if the button for creating tables is enabled
      Since:
      4.0.120
    • setTable

      public void setTable(YesNo value)
      Sets if the button for creating tables is enabled
      Since:
      4.0.120
    • getEnableImport

      public YesNo getEnableImport()
      Indicates if the button for importing CF_HTML content is enabled
      Overrides:
      getEnableImport in class AbstractGomDom
      Returns:
      YesNo Enable button for importing CF_HTML content.
      Since:
      4.2
    • setEnableImport

      public void setEnableImport(YesNo enableImport)
      Sets if the button for importing CF_HTML content is enabled
      Overrides:
      setEnableImport in class AbstractGomDom
      Parameters:
      enableImport - Enable button for importing CF_HTML content.
      Since:
      4.2
    • getImportRuleset

      public String getImportRuleset()
      List of the available CF_HTML to DOM import rule sets. an empty definition gets all in the module available rule sets.
      Overrides:
      getImportRuleset in class AbstractGomDom
      Returns:
      a comma separated list of the available ruleset.
      Since:
      4.2
    • setImportRuleset

      public void setImportRuleset(String importRuleset)
      Sets the available CF_HTML to DOM import rule sets
      Overrides:
      setImportRuleset in class AbstractGomDom
      Parameters:
      importRuleset - a comma separated list of the available ruleset definitions.
      Since:
      4.2
    • getTransferTypes

      @Nullable public @Nullable List<TransferType<?>> getTransferTypes(SpecialistsBroker broker)
      Description copied from interface: GomTransferHandling
      Returns a list of supported TransferType's, or null if transfer is not supported.
      Specified by:
      getTransferTypes in interface GomTransferHandling
      Parameters:
      broker - Broker for requesting services or providers.
      Returns:
      supported transfer types, or null.
    • maxCharacters

      public int maxCharacters()
      Convenience API for getMaxCharacters() returning an integer value.
      Returns:
      the maximum number of characters allowed for input or -1 if unset
      Since:
      3.0
    • showsTable

      public boolean showsTable()
      Convenience API for getTable() returning a boolean value
      Since:
      4.0.120
    • showsEnableImport

      public boolean showsEnableImport()
      Show the button for importing CF_HTML content.
      Overrides:
      showsEnableImport in class AbstractGomDom
      Returns:
      true if enabled, otherwise false
      Since:
      4.2