src/core/net/sf/basedb/util/extensions/xml/PathType.java

Code
Comments
Other
Rev Date Author Line
5482 10 Nov 10 nicklas 1 /**
5482 10 Nov 10 nicklas 2   $Id$
5482 10 Nov 10 nicklas 3
5482 10 Nov 10 nicklas 4   Copyright (C) 2010 Nicklas Nordborg
5482 10 Nov 10 nicklas 5
5482 10 Nov 10 nicklas 6   This file is part of BASE - BioArray Software Environment.
5482 10 Nov 10 nicklas 7   Available at http://base.thep.lu.se/
5482 10 Nov 10 nicklas 8
5482 10 Nov 10 nicklas 9   BASE is free software; you can redistribute it and/or
5482 10 Nov 10 nicklas 10   modify it under the terms of the GNU General Public License
5482 10 Nov 10 nicklas 11   as published by the Free Software Foundation; either version 3
5482 10 Nov 10 nicklas 12   of the License, or (at your option) any later version.
5482 10 Nov 10 nicklas 13
5482 10 Nov 10 nicklas 14   BASE is distributed in the hope that it will be useful,
5482 10 Nov 10 nicklas 15   but WITHOUT ANY WARRANTY; without even the implied warranty of
5482 10 Nov 10 nicklas 16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5482 10 Nov 10 nicklas 17   GNU General Public License for more details.
5482 10 Nov 10 nicklas 18
5482 10 Nov 10 nicklas 19   You should have received a copy of the GNU General Public License
5482 10 Nov 10 nicklas 20   along with BASE. If not, see <http://www.gnu.org/licenses/>.
5482 10 Nov 10 nicklas 21 */
5482 10 Nov 10 nicklas 22 package net.sf.basedb.util.extensions.xml;
5482 10 Nov 10 nicklas 23
5482 10 Nov 10 nicklas 24 /**
5482 10 Nov 10 nicklas 25   Specify the type of paths. It is used
5482 10 Nov 10 nicklas 26   by the {@link PathSetter} annotation and {@link PathConverter}.
5482 10 Nov 10 nicklas 27
5482 10 Nov 10 nicklas 28   @author Nicklas
5482 10 Nov 10 nicklas 29   @since 2.17
5482 10 Nov 10 nicklas 30   @base.modified $Date$
5482 10 Nov 10 nicklas 31 */
5482 10 Nov 10 nicklas 32 public enum PathType
5482 10 Nov 10 nicklas 33 {
5482 10 Nov 10 nicklas 34   
5482 10 Nov 10 nicklas 35   /**
5482 10 Nov 10 nicklas 36     Paths should be absolute paths from the root of the web server.
5482 10 Nov 10 nicklas 37   */
5482 10 Nov 10 nicklas 38   ABSOLUTE,
5482 10 Nov 10 nicklas 39   
5482 10 Nov 10 nicklas 40   /**
5482 10 Nov 10 nicklas 41     Paths should be relative to the web application context. The difference
5482 10 Nov 10 nicklas 42     is usually that the first part of the absolute path is missing.
5482 10 Nov 10 nicklas 43   */
5482 10 Nov 10 nicklas 44   CONTEXT_RELATIVE;
5482 10 Nov 10 nicklas 45   
5482 10 Nov 10 nicklas 46   
5482 10 Nov 10 nicklas 47 }