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

java.lang.Objectorg.jomc.model.Texts
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class TextsList of texts.
Text| Field Summary | |
|---|---|
protected String |
defaultLanguage
|
protected List<Text> |
text
|
| Constructor Summary | |
|---|---|
Texts()
Creates a new Texts instance. |
|
Texts(Texts o)
Creates a new Texts instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Texts |
clone()
Creates and returns a deep copy of this object. |
private static void |
copyText(List<Text> source,
List<Text> target)
Copies all values of property Text deeply. |
String |
getDefaultLanguage()
Default text of this list. |
List<Text> |
getText()
Gets the value of the text property. |
Text |
getText(String language)
Gets a text for a given language. |
void |
setDefaultLanguage(String value)
Sets the value of the defaultLanguage 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-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Text> text
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String defaultLanguage
| Constructor Detail |
|---|
public Texts()
Texts instance.
public Texts(Texts o)
Texts instance by deeply copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<Text> getText()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the text property.
For example, to add a new item, do as follows:
getText().add(newItem);
Objects of the following type(s) are allowed in the list
Text
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getDefaultLanguage()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setDefaultLanguage(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyText(List<Text> source,
List<Text> target)
Text deeply.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Texts clone()
clone in class Objectpublic Text getText(String language)
language - The language of the text to return.
language or the default text, if
no text matching language is found.
NullPointerException - if language is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||