Package org.purl.dc.elements
Interface SimpleLiteral
- All Known Subinterfaces:
Box
,DCMIType
,DDC
,IMT
,ISO3166
,ISO6392
,ISO6393
,LCC
,LCSH
,MESH
,Period
,Point
,RFC1766
,RFC3066
,RFC4646
,TGN
,UDC
,URI
,W3CDTF
public interface SimpleLiteral
A representation of the model object 'Simple Literal'.
This is the default type for all of the DC elements.
It permits text content only with optional
xml:lang attribute.
Text is allowed because mixed="true", but sub-elements
are disallowed because minOccurs="0" and maxOccurs="0"
are on the xs:any tag.
This complexType allows for restriction or extension permitting
child elements.
The following features are supported:
-
Method Details
-
getAllContents
MixedContent getAllContents()Returns the value of the 'All Contents' attribute list.- Returns:
- the value of the 'All Contents' attribute list.
-
getLang
String getLang()Returns the value of the 'Lang' attribute. In due course, we should install the relevant ISO 2- and 3-letter codes as the enumerated possible values . . .- Returns:
- the value of the 'Lang' attribute.
- See Also:
-
setLang
Sets the value of the 'Lang
' attribute.- Parameters:
value
- the new value of the 'Lang' attribute.- See Also:
-