/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2010, 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.model; /** * <p>This interface maps atom link element.</p> * * <pre> * <element name="link"> * <complexType> * <attribute name="href" use="required"/> * <attribute name="rel"/> * <attribute name="type" type="atom:atomMediaType"/> * <attribute name="hreflang" type="atom:atomLanguageTag"/> * <attribute name="title"/> * <attribute name="length"/> * </complexType> * </element> * </pre> * * @author Samuel Andrés * @module */ public interface AtomLink { /** * * @return */ String getHref(); /** * * @return */ String getRel(); /** * * @return */ String getType(); /** * * @return */ String getHreflang(); /** * * @return */ String getTitle(); /** * * @return */ String getLength(); /** * * @param href */ void setHref(final String href); /** * * @param rel */ void setRel(final String rel); /** * * @param type */ void setType(final String type); /** * * @param hreflang */ void setHreflang(final String hreflang); /** * * @param title */ void setTitle(final String title); /** * * @param length */ void setLength(final String length); }