public class ResourceOrLiteralType extends Object
<xs:complexType xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ResourceOrLiteralType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute use="optional" ref="xml:lang">
<!-- Reference to inner class Lang -->
</xs:attribute>
<xs:attribute use="optional" ref="rdf:resource">
<!-- Reference to inner class Resource -->
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceOrLiteralType.Lang
Schema fragment(s) for this class:
|
static class |
ResourceOrLiteralType.Resource
Schema fragment(s) for this class:
|
| Constructor and Description |
|---|
ResourceOrLiteralType() |
| Modifier and Type | Method and Description |
|---|---|
ResourceOrLiteralType.Lang |
getLang()
Get the 'lang' attribute value.
|
ResourceOrLiteralType.Resource |
getResource()
Get the 'resource' attribute value.
|
String |
getString()
Get the extension value.
|
void |
setLang(ResourceOrLiteralType.Lang lang)
Set the 'lang' attribute value.
|
void |
setResource(ResourceOrLiteralType.Resource resource)
Set the 'resource' attribute value.
|
void |
setString(String string)
Set the extension value.
|
public String getString()
public void setString(String string)
string - public ResourceOrLiteralType.Lang getLang()
public void setLang(ResourceOrLiteralType.Lang lang)
lang - public ResourceOrLiteralType.Resource getResource()
public void setResource(ResourceOrLiteralType.Resource resource)
resource - Copyright © 2018 Europeana Foundation. All rights reserved.