001/*
002 * (C) Copyright 2006-2007 Nuxeo SAS <http://nuxeo.com> and others
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *     Jean-Marc Orliaguet, Chalmers
011 *
012 * $Id$
013 */
014
015package org.nuxeo.theme.jsf.component;
016
017import java.io.IOException;
018
019import javax.faces.component.UIOutput;
020import javax.faces.context.FacesContext;
021
022public class UITab extends UIOutput {
023
024    private String label;
025
026    private String link;
027
028    private String switchTo;
029
030    @Override
031    public void encodeAll(final FacesContext context) throws IOException {
032    }
033
034    public String getLink() {
035        return link;
036    }
037
038    public void setLink(String link) {
039        this.link = link;
040    }
041
042    public String getSwitchTo() {
043        return switchTo;
044    }
045
046    public void setSwitchTo(String switchTo) {
047        this.switchTo = switchTo;
048    }
049
050    public String getLabel() {
051        return label;
052    }
053
054    public void setLabel(String label) {
055        this.label = label;
056    }
057
058}