Class HelpAndManualDialect

  • All Implemented Interfaces:
    XMLDialect

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

      • HAM_ROOT_TAG

        public static final java.util.regex.Pattern HAM_ROOT_TAG
    • Constructor Detail

      • HelpAndManualDialect

        public HelpAndManualDialect()
    • Method Detail

      • validateIntactTag

        public java.lang.Boolean validateIntactTag​(java.lang.String tag,
                                                   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