| /******************************************************************************* |
| * Copyright (c) 2010 xored software, Inc. |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * xored software, Inc. - initial API and Implementation (Alex Panchenko) |
| *******************************************************************************/ |
| package org.eclipse.dltk.core; |
| |
| /** |
| * @since 3.0 |
| */ |
| public interface INamespace { |
| |
| /** |
| * Returns the parts of this namespace |
| * |
| * @return |
| */ |
| String[] getStrings(); |
| |
| /** |
| * Returns the qualified name of this namespace. This consists of the simple |
| * names, separated by <code>'$'</code>. This is a handle-only method. |
| * |
| * @return the qualified name of this namespace |
| */ |
| String getQualifiedName(); |
| |
| /** |
| * Returns the qualified name of this namespace. This consists of the simple |
| * names, separated by <code>separator</code>. This is a handle-only method. |
| * |
| * @param separator |
| * the specified enclosing type separator |
| * @return the qualified name of this package |
| * |
| */ |
| String getQualifiedName(String separator); |
| |
| boolean isRoot(); |
| } |