View Javadoc

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 an Internationalised Resource Identifier.
31   *
32   * @author not attributable
33   * @version $Revision: 1160 $ $Date: 2005-10-17 18:10:00 +0300 (Mon, 17 Oct 2005) $
34   * @since 0.4.0
35   */
36  public interface IRI
37      extends Identifier {
38  
39      /**
40       * Returns the local part of the IRI.
41       * @return The local part of this IRI.
42       */
43      String getLocalName();
44      
45      /**
46       * Retrieve the namespace part of IRI
47       * @return the namespace or null in case the namespace is not known.
48       */
49      String getNamespace();
50  }
51  
52  /*
53   * $Log$
54   * Revision 1.3  2005/10/17 15:08:53  marin_dimitrov
55   * getNameSpace --> getNamespace
56   *
57   * Revision 1.2  2005/10/13 12:31:49  vassil_momtchev
58   * getNameSpace() method added
59   *
60   * Revision 1.1  2005/06/01 10:30:23  marin_dimitrov
61   * v0.4.0
62   *
63   * Revision 1.4  2005/05/12 14:42:57  marin
64   * added @since tags
65   *
66   * Revision 1.3  2005/05/12 13:29:16  marin
67   * javadoc, header, footer, etc
68   *
69   */
70