|
||||||||||
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="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Text
Model of text. The 'Text' type defines attributes 'language', 'type' and 'value'. Attribute 'language' holds the language key identifying the text in a set of texts. Attribute 'type' specifies a Multipurpose Internet Mail Extension (MIME) type, as defined in RFC 2045 and 2046. Attribute 'value' holds the text of the type corresponding to the 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" /> <attribute name="type" type="{http://jomc.org/model}MimeType" default="text/plain" /> </extension> </simpleContent> </complexType>
Field Summary | |
---|---|
protected String |
language
|
protected String |
type
|
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 |
getType()
The Multipurpose Internet Mail Extension (MIME) type, as defined in RFC 2045 and 2046. |
String |
getValue()
Gets the value of the value property. |
void |
setLanguage(String value)
Sets the value of the language property. |
void |
setType(String value)
Sets the value of the type 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="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected String value
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected String language
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected String type
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="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public String getValue()
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public void setValue(String value)
value
- allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public String getLanguage()
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public void setLanguage(String value)
value
- allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public String getType()
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public void setType(String value)
value
- allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver", date="2012-03-14T10:22:27+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Text clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |