Package org.gedcomx.common
Class TextValue
java.lang.Object
org.gedcomx.common.TextValue
An element representing a text value that may be in a specific language.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TextValue
public TextValue() -
TextValue
-
TextValue
-
-
Method Details
-
getLang
The language of the text value. See http://www.w3.org/International/articles/language-tags/- Returns:
- The language of the text value.
-
setLang
The language of the text value. See http://www.w3.org/International/articles/language-tags/- Parameters:
lang- The language of the text value.
-
lang
Build up this text value with a lang.- Parameters:
lang- The lang.- Returns:
- this.
-
getValue
The text value.- Returns:
- The text value.
-
setValue
The text value.- Parameters:
value- The text value.
-
value
Build up this text value with a value.- Parameters:
value- The value.- Returns:
- this.
-
equals
-
hashCode
public int hashCode() -
toString
-