All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.purl.dc.elements._1.SimpleLiteral Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.08.07 at 06:17:52 PM CEST 
//


package org.purl.dc.elements._1;

import org.purl.dc.terms.*;

import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;


/**
 * 
 *             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.
 *     	
 * 
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SimpleLiteral", propOrder = { "content" }) @XmlSeeAlso({ RFC3066 .class, Period.class, DDC.class, TGN.class, ISO3166 .class, MESH.class, Box.class, IMT.class, W3CDTF.class, LCC.class, ISO6392 .class, LCSH.class, UDC.class, RFC1766 .class, Point.class, DCMIType.class, URI.class }) public class SimpleLiteral { @XmlMixed protected List content; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String lang; /** * * 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. * Gets the value of the content property. * *

* 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 * {@link String } * * */ public List getContent() { if (content == null) { content = new ArrayList<>(); } return this.content; } /** * Gets the value of the lang property. * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy