public class Name
extends java.lang.Object
Constructor and Description |
---|
Name(java.lang.String name)
Deprecated.
Constructs a Name with the specified text.
|
Name(java.lang.String name,
java.lang.String language)
Deprecated.
Constructs a Name with the specified text and language.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getLanguage()
Deprecated.
Returns the language of the LanguageString.
|
java.lang.String |
getNameLanguage()
Deprecated.
Returns the language of the Name.
|
java.lang.String |
getNameString()
Deprecated.
Returns the text of the Name.
|
protected java.lang.String |
getString()
Deprecated.
Returns the text of the LanguageString.
|
protected void |
setLanguage(java.lang.String language)
Deprecated.
Sets the language of the LanguageString.
|
void |
setNameLanguage(java.lang.String language)
Deprecated.
Sets the language of the Name.
|
void |
setNameString(java.lang.String nameString)
Deprecated.
Sets the text of the Name.
|
protected void |
setString(java.lang.String contents)
Deprecated.
Sets the text of the LanguageString.
|
public Name(java.lang.String name)
name
- the text of the Name.public Name(java.lang.String name, java.lang.String language)
name
- the text of the Name.language
- the language of the Name.public java.lang.String getNameLanguage()
public java.lang.String getNameString()
public void setNameString(java.lang.String nameString)
nameString
- the text of the Name.public void setNameLanguage(java.lang.String language)
language
- the language of the Name.protected java.lang.String getLanguage()
protected void setLanguage(java.lang.String language)
language
- the language of the LanguageString.protected java.lang.String getString()
protected void setString(java.lang.String contents)
contents
- the text of the LanguageString.