KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > xmi > NameInfo


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2004 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: NameInfo.java,v 1.2 2005/06/08 06:16:07 nickb Exp $
16  */

17 package org.eclipse.emf.ecore.xmi;
18
19
20 /**
21  * This interface represents a qualified name, as specified in "Namespaces in XML" specification.
22  * @since 2.1.0
23  */

24 public interface NameInfo
25 {
26   /**
27    * @return the local part of qualified name
28    */

29   public String JavaDoc getLocalPart();
30
31   /**
32    * @param localPart the local part of qualified name
33    */

34   public void setLocalPart(String JavaDoc localPart);
35
36   /**
37    * @return the qualified name
38    */

39   public String JavaDoc getQualifiedName();
40
41   /**
42    * @param name the qualified name
43    */

44   public void setQualifiedName(String JavaDoc name);
45
46   /**
47    * @return the namespace URI
48    */

49   public String JavaDoc getNamespaceURI();
50
51   /**
52    * @param uri the namespace URI
53    */

54   public void setNamespaceURI(String JavaDoc uri);
55 }
56
Popular Tags