public class DisplayNameType
extends java.lang.Object
<?xml version="1.0" encoding="UTF-8"?><display-name xmlns="http://www.w3.org/2001/XMLSchema" xmlns:portlet="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">Employee Self Service</display-name>It has an optional attribute xml:lang to indicate which language is used in the description according to RFC 1766 (http://www.ietf.org/rfc/rfc1766.txt). The default value of this attribute is English(“en”).
Java class for display-nameType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="display-nameType">
<simpleContent>
<extension base="<http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd>string">
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
lang |
protected java.lang.String |
value |
| Constructor and Description |
|---|
DisplayNameType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLang()
Gets the value of the lang property.
|
java.lang.String |
getValue()
This is a special string datatype that is defined by JavaEE
as a base type for defining collapsed strings.
|
void |
setLang(java.lang.String value)
Sets the value of the lang property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
public java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLang()
Stringpublic void setLang(java.lang.String value)
value - allowed object is
String