/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2008 - 2009, Geomatys * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotoolkit.atom.xml; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * <attribute name="type" type="{http://www.w3.org/2005/Atom}atomMediaType" /> * <attribute name="hreflang" type="{http://www.w3.org/2005/Atom}atomLanguageTag" /> * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * </restriction> * </complexContent> * </complexType> * </pre> * * * @module */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "link") public class Link { @XmlAttribute(required = true) @XmlSchemaType(name = "anySimpleType") private String href; @XmlAttribute @XmlSchemaType(name = "anySimpleType") private String rel; @XmlAttribute private String type; @XmlAttribute private String hreflang; @XmlAttribute @XmlSchemaType(name = "anySimpleType") private String title; @XmlAttribute @XmlSchemaType(name = "anySimpleType") private String length; /** * 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(final String value) { this.href = value; } /** * Gets the value of the rel property. * * @return * possible object is * {@link String } * */ public String getRel() { return rel; } /** * Sets the value of the rel property. * * @param value * allowed object is * {@link String } * */ public void setRel(final String value) { this.rel = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(final String value) { this.type = value; } /** * Gets the value of the hreflang property. * * @return * possible object is * {@link String } * */ public String getHreflang() { return hreflang; } /** * Sets the value of the hreflang property. * * @param value * allowed object is * {@link String } * */ public void setHreflang(final String value) { this.hreflang = 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(final String value) { this.title = value; } /** * Gets the value of the length property. * * @return * possible object is * {@link String } * */ public String getLength() { return length; } /** * Sets the value of the length property. * * @param value * allowed object is * {@link String } * */ public void setLength(final String value) { this.length = value; } }