Class HelpAndManualDialect

java.lang.Object
org.omegat.filters3.xml.DefaultXMLDialect
org.omegat.filters3.xml.helpandmanual.HelpAndManualDialect
All Implemented Interfaces:
XMLDialect

@NullMarked public class HelpAndManualDialect extends DefaultXMLDialect
This class specifies the Help&Manual XML Dialect.
  • Field Details

    • HAM_ROOT_TAG

      public static final Pattern HAM_ROOT_TAG
  • Constructor Details

    • HelpAndManualDialect

      public HelpAndManualDialect()
  • Method Details

    • validateIntactTag

      public Boolean validateIntactTag(String tag, @Nullable Attributes atts)
      In the Help&Manual filter, content should be translated in the following condition: The pair attribute-value should not have been declared as untranslatable in the options
      Specified by:
      validateIntactTag in interface XMLDialect
      Overrides:
      validateIntactTag in class DefaultXMLDialect
      Parameters:
      tag - An XML tag
      atts - The attributes associated with the tag
      Returns:
      false if the content of this tag should be translated, true otherwise