1 /* 2 wsmo4j - a WSMO API and Reference Implementation 3 4 Copyright (c) 2004-2005, OntoText Lab. / SIRMA 5 6 This library is free software; you can redistribute it and/or modify it under 7 the terms of the GNU Lesser General Public License as published by the Free 8 Software Foundation; either version 2.1 of the License, or (at your option) 9 any later version. 10 This library is distributed in the hope that it will be useful, but WITHOUT 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 13 details. 14 You should have received a copy of the GNU Lesser General Public License along 15 with this library; if not, write to the Free Software Foundation, Inc., 16 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */ 18 19 /** 20 * <p>Title: WSMO4J</p> 21 * <p>Description: WSMO API and a Reference Implementation</p> 22 * <p>Copyright: Copyright (c) 2004-2005</p> 23 * <p>Company: OntoText Lab. / SIRMA </p> 24 */ 25 26 package org.wsmo.common; 27 28 29 /** 30 * An interface representing a namespace 31 * A namespace is comprised of a (prefix, IRI) pair 32 * 33 * @author not attributable 34 * @version $Revision: 385 $ $Date: 2005-06-01 13:34:43 +0300 (Wed, 01 Jun 2005) $ 35 */ 36 public interface Namespace { 37 38 /** 39 * Retrieve the prefix of the namespace 40 * Note: if this namespace is a <i>default</i> namespace then the prefix is <i>null</i> 41 * @return prefix 42 */ 43 String getPrefix(); 44 45 /** 46 * Retrieve the full IRI of the namespace 47 * @return 48 */ 49 IRI getIRI(); 50 } 51 52 /* 53 * $Log$ 54 * Revision 1.6 2005/06/01 10:30:48 marin_dimitrov 55 * v0.4.0 56 * 57 * Revision 1.4 2005/05/13 12:40:06 marin 58 * a note about default namespace 59 * 60 * Revision 1.3 2005/05/12 13:29:16 marin 61 * javadoc, header, footer, etc 62 * 63 */ 64