net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.portlet.app200
Interface DisplayNameType

All Known Implementing Classes:
DisplayNameTypeImpl

public interface DisplayNameType

The display-name type contains a short name that is intended to be displayed by tools. It is used by display-name elements. The display name need not be unique. Example: ...

 <?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>
 


Method Summary
 String getLang()
          Gets the value of the lang property.
 String getValue()
          This is a special string datatype that is defined by JavaEE as a base type for defining collapsed strings.
 void setLang(String value)
          Sets the value of the lang property.
 void setValue(String value)
          Sets the value of the value property.
 

Method Detail

getValue

String getValue()
This is a special string datatype that is defined by JavaEE as a base type for defining collapsed strings. When schemas require trailing/leading space elimination as well as collapsing the existing whitespace, this base type may be used.

Returns:
possible object is String

setValue

void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getLang

String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.