public class SimpleLiteral
extends java.lang.Object
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/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
content |
protected java.lang.String |
lang |
| Constructor and Description |
|---|
SimpleLiteral() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getContent()
This is the default type for all of the DC elements.
|
java.lang.String |
getLang()
Gets the value of the lang property.
|
void |
setLang(java.lang.String value)
Sets the value of the lang property.
|
protected java.util.List<java.lang.String> content
protected java.lang.String lang
public java.util.List<java.lang.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 java.lang.String getLang()
Stringpublic void setLang(java.lang.String value)
value - allowed object is
StringCopyright © 2007–2025. All rights reserved.