public interface IDOMInitializer extends IDOMMember
This interface is not intended to be implemented by clients.
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Deprecated.
Returns the body of this initializer.
|
String |
getName()
Deprecated.
The
IDOMInitializer refinement of this IDOMNode
method returns null . |
void |
setBody(String body)
Deprecated.
Sets the body of this initializer.
|
void |
setName(String name)
Deprecated.
The
IDOMInitializer refinement of this IDOMNode
method does nothing. |
getComment, getFlags, setComment, setFlags
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove
String getBody()
null
if
no body is presentString getName()
IDOMInitializer
refinement of this IDOMNode
method returns null
. An initializer does not have a name.void setBody(String body)
body
- an initializer body, including braces, or null
indicating no bodyCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.