
org.w3._1999.xlink.Extended Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.03.17 at 03:12:59 PM SAMT
//
package org.w3._1999.xlink;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
*
* Intended for use as the type of user-declared elements to make them
* extended links.
* Note that the elements referenced in the content model are all abstract.
* The intention is that by simply declaring elements with these as their
* substitutionGroup, all the right things will happen.
*
*
* Java class for extended complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="extended">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <group ref="{http://www.w3.org/1999/xlink}extendedModel" maxOccurs="unbounded" minOccurs="0"/>
* <attGroup ref="{http://www.w3.org/1999/xlink}extendedAttrs"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "extended", propOrder = {
"titlesAndResourcesAndLocators"
})
public class Extended
implements Serializable
{
@XmlElements({
@XmlElement(name = "title", type = Title.class),
@XmlElement(name = "resource", type = Resource.class),
@XmlElement(name = "locator", type = Locator.class),
@XmlElement(name = "arc", type = Arc.class)
})
protected List titlesAndResourcesAndLocators;
@XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink", required = true)
protected TypeType type;
@XmlAttribute(name = "role", namespace = "http://www.w3.org/1999/xlink")
protected String role;
@XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink")
protected String title;
/**
* Gets the value of the titlesAndResourcesAndLocators 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 titlesAndResourcesAndLocators property.
*
*
* For example, to add a new item, do as follows:
*
* getTitlesAndResourcesAndLocators().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Title }
* {@link Resource }
* {@link Locator }
* {@link Arc }
*
*
*/
public List getTitlesAndResourcesAndLocators() {
if (titlesAndResourcesAndLocators == null) {
titlesAndResourcesAndLocators = new ArrayList();
}
return this.titlesAndResourcesAndLocators;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link TypeType }
*
*/
public TypeType getType() {
if (type == null) {
return TypeType.EXTENDED;
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link TypeType }
*
*/
public void setType(TypeType value) {
this.type = value;
}
/**
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
}