public class SimpleLiteral extends 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 processContents='lax' maxOccurs="0" minOccurs="0"/>
</sequence>
<attribute name="scheme" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Serializable> |
content |
protected String |
scheme |
| Constructor and Description |
|---|
SimpleLiteral()
Default no-arg constructor
|
SimpleLiteral(List<Serializable> content,
String scheme)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Serializable> |
getContent()
This is the default type for all of the DC elements.
|
String |
getScheme()
Gets the value of the scheme property.
|
void |
setScheme(String value)
Sets the value of the scheme property.
|
protected List<Serializable> content
protected String scheme
public SimpleLiteral()
public SimpleLiteral(List<Serializable> content, String scheme)
public List<Serializable> 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 getScheme()
StringCopyright © 2021 B3Partners B.V.. All rights reserved.