Class Attribute

java.lang.Object
org.omegat.filters3.Attribute

public class Attribute extends Object
One attribute of a tag.
  • Constructor Details

    • Attribute

      public Attribute(String name, String value)
      Creates a new instance of Attribute
  • Method Details

    • getName

      public String getName()
      Returns attribute's name.
    • getValue

      public String getValue()
      Returns attribute's value.
    • setValue

      public void setValue(String value)
      Sets attribute's value.

      Actually an ugly hack to allow quick & dirty translation of attributes. Normal solution requires too much time :-(

    • toString

      public String toString()
      Returns a string representation of the attribute. name="value".
      Overrides:
      toString in class Object