
org.w3._1999.xlink.Locator 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for locatorType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="locatorType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <group ref="{http://www.w3.org/1999/xlink}locatorModel"/>
* <attGroup ref="{http://www.w3.org/1999/xlink}locatorAttrs"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "locatorType", propOrder = {
"titles"
})
@XmlRootElement(name = "locator")
public abstract class Locator implements Serializable
{
@XmlElement(name = "title")
protected List titles;
@XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink", required = true)
protected TypeType type;
@XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink", required = true)
protected String href;
@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 title1;
@XmlAttribute(name = "label", namespace = "http://www.w3.org/1999/xlink")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String label;
/**
* Gets the value of the titles 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 titles property.
*
*
* For example, to add a new item, do as follows:
*
* getTitles().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Title }
*
*
*/
public List
getTitles() {
if (titles == null) {
titles = new ArrayList();
}
return this.titles;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link TypeType }
*
*/
public TypeType getType() {
if (type == null) {
return TypeType.LOCATOR;
} 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 href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = 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 title1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle1() {
return title1;
}
/**
* Sets the value of the title1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle1(String value) {
this.title1 = value;
}
/**
*
* label is not required, but locators have no particular
* XLink function if they are not labeled.
*
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy