public class SimpleLiteral extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2
Java class for SimpleLiteral complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SimpleLiteral">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='lax' maxOccurs="0" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
content |
protected String |
lang |
| Constructor and Description |
|---|
SimpleLiteral() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
Object |
createNewInstance() |
List<String> |
getContent()
This is the default type for all of the DC elements.
|
String |
getLang()
Gets the value of the lang property.
|
void |
setLang(String value)
Sets the value of the lang property.
|
public List<String> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getLang()
Stringpublic void setLang(String value)
value - allowed object is
Stringpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2Copyright © 2016–2020 FIX Trading Community. All rights reserved.