public interface IDOMPackage extends IDOMNode
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
The
IDOMPackage refinement of this IDOMNode
method returns the name of this package declaration, or null
if it has none. |
void |
setName(String name)
Deprecated.
The
IDOMPackage refinement of this IDOMNode
method sets the name of this package declaration. |
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove
String getName()
IDOMPackage
refinement of this IDOMNode
method returns the name of this package declaration, or null
if it has none. The syntax for a package name corresponds to PackageName
as defined by PackageDeclaration (JLS2 7.4).void setName(String name)
IDOMPackage
refinement of this IDOMNode
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 null
name indicates an empty package declaration; that is,
getContents
returns the empty string.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.