Package org.omegat.filters3
Class Attribute
- java.lang.Object
-
- org.omegat.filters3.Attribute
-
public class Attribute extends java.lang.Object
One attribute of a tag.
-
-
Constructor Summary
Constructors Constructor Description Attribute(java.lang.String name, java.lang.String value)
Creates a new instance of Attribute
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns attribute's name.java.lang.String
getValue()
Returns attribute's value.void
setValue(java.lang.String value)
Sets attribute's value.java.lang.String
toString()
Returns a string representation of the attribute.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns attribute's name.
-
getValue
public java.lang.String getValue()
Returns attribute's value.
-
setValue
public void setValue(java.lang.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 java.lang.String toString()
Returns a string representation of the attribute. name="value".- Overrides:
toString
in classjava.lang.Object
-
-