All Implemented Interfaces:
TagBase, GlobalAttributable, Serializable, Cloneable

public class Translate extends AbstractAttribute implements GlobalAttributable
<element translate="yes|no">
 The translate attribute specifies whether the content of an element should be translated or not.
 
See Also:
  • Constructor Details

    • Translate

      public Translate()
      false will be set as the value.
      Since:
      1.0.0
    • Translate

      public Translate(boolean translation)
      Parameters:
      translation - the translation to set. The argument true or false will set yes or no respectively.
      Since:
      1.0.0
    • Translate

      public Translate(String value)
      Parameters:
      value - the translation to set. The argument should be yes or no .
      Since:
      1.1.4
  • Method Details

    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0
    • isTranslation

      public boolean isTranslation()
      Returns:
      the translation
      Since:
      1.0.0
    • setTranslation

      public void setTranslation(boolean translation)
      Parameters:
      translation - the translation to set. The argument true or false will set yes or no respectively.
      Since:
      1.0.0