|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.Text
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class TextModel of text. The 'Text' type defines attributes 'language' and 'value'. Attribute 'language' holds the language key identifying the text in a set of texts. Attribute 'value' holds the text corresponding to that language.
Java class for Text complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Text">
<simpleContent>
<extension base="<http://jomc.org/model>String">
<attribute name="language" use="required" type="{http://jomc.org/model}Language" />
</extension>
</simpleContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
language
|
protected String |
value
|
| Constructor Summary | |
|---|---|
Text()
Creates a new Text instance. |
|
Text(Text o)
Creates a new Text instance by deeply copying a given Text instance. |
|
| Method Summary | |
|---|---|
Text |
clone()
Creates and returns a deep copy of this object. |
String |
getLanguage()
The language key of this text. |
String |
getValue()
Gets the value of the value property. |
void |
setLanguage(String value)
Sets the value of the language property. |
void |
setValue(String value)
Sets the value of the value property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String value
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String language
| Constructor Detail |
|---|
public Text()
Text instance.
public Text(Text o)
Text instance by deeply copying a given Text instance.
o - The instance to copy.
NullPointerException - if o is null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getValue()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setValue(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getLanguage()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setLanguage(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-12-07T03:06:36+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Text clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||