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

org.w3._1999.xlink.Extended Maven / Gradle / Ivy

There is a newer version: 1.35
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//

package org.w3._1999.xlink;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;

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

{@code
 * 
 *   
 *     
 *       
 *       
 *     
 *   
 * 
 * }
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType( name = "extended", propOrder = {"extendedModel"}) public class Extended { @XmlElements({ @XmlElement(name = "title", type = TitleEltType.class), @XmlElement(name = "resource", type = ResourceType.class), @XmlElement(name = "locator", type = LocatorType.class), @XmlElement(name = "arc", type = ArcType.class) }) protected List extendedModel; @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 extendedModel 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 extendedModel property. * *

For example, to add a new item, do as follows: * *

   * getExtendedModel().add(newItem);
   * 
* *

Objects of the following type(s) are allowed in the list {@link ArcType } {@link LocatorType * } {@link ResourceType } {@link TitleEltType } * * @return The value of the extendedModel property. */ public List getExtendedModel() { if (extendedModel == null) { extendedModel = new ArrayList<>(); } return this.extendedModel; } /** * 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; } }