blob: 861cb912ec2edcec50962e27cff31ba2e436a086 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package org.eclipse.jdt.core.jdom;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.jdt.internal.core.*;
/**
* Represents a package declaration.
* The corresponding syntactic unit is PackageDeclaration (JLS2 7.4).
* A Package has no children, and its parent is a compilation unit.
* <p>
* This interface is not intended to be implemented by clients.
* </p>
*/
public interface IDOMPackage extends IDOMNode {
/**
* The <code>IDOMPackage</code> refinement of this <code>IDOMNode</code>
* method returns the name of this package declaration, or <code>null</code>
* if it has none. The syntax for a package name corresponds to PackageName
* as defined by PackageDeclaration (JLS2 7.4).
*/
public String getName();
/**
* The <code>IDOMPackage</code> refinement of this <code>IDOMNode</code>
* method sets the name of this package declaration. The syntax for a package
* name corresponds to PackageName as defined by PackageDeclaration (JLS2 7.4).
* A <code>null</code> name indicates an empty package declaration; that is,
* <code>getContents</code> returns the empty string.
*/
public void setName(String name);
}
|