Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.core.jdom
Interface IDOMInitializer

All Superinterfaces:
Cloneable, IDOMMember, IDOMNode

Deprecated. The JDOM was made obsolete by the addition in 2.0 of the more powerful, fine-grained DOM/AST API found in the org.eclipse.jdt.core.dom package.

public interface IDOMInitializer
extends IDOMMember

Represents an initializer. The corresponding syntactic units are InstanceInitializer (JLS2 8.6) and StaticDeclaration (JLS2 8.7). An initializer has no children and its parent is a type.

Restriction:
This interface is not intended to be implemented by clients.

Field Summary
 
Fields inherited from interface org.eclipse.jdt.core.jdom. IDOMNode
COMPILATION_UNIT, FIELD, IMPORT, INITIALIZER, METHOD, PACKAGE, TYPE
 
Method Summary
  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.
 
Methods inherited from interface org.eclipse.jdt.core.jdom. IDOMMember
getComment, getFlags, setComment, setFlags
 
Methods inherited from interface org.eclipse.jdt.core.jdom. IDOMNode
addChild, canHaveChildren, clone, getCharacters, getChild, getChildren, getContents, getFirstChild, getJavaElement, getNextNode, getNodeType, getParent, getPreviousNode, insertSibling, isAllowableChild, isSignatureEqual, remove
 

Method Detail

getBody

String getBody()
Deprecated. 
Returns the body of this initializer. The syntax for a body corresponds to InstanceInitializer (JLS2 8.6) and StaticDeclaration (JLS2 8.7).

Returns:
an initializer body, including braces, or null if no body is present

getName

String getName()
Deprecated. 
The IDOMInitializer refinement of this IDOMNode method returns null. An initializer does not have a name.

Specified by:
getName in interface IDOMNode
Returns:
null

setBody

void setBody(
String body)
Deprecated. 
Sets the body of this initializer. The syntax for a body corresponds to InstanceInitializer (JLS2 8.6) and StaticDeclaration (JLS2 8.7). No formatting or syntax checking is performed on the body. Braces must be included.

Parameters:
body - an initializer body, including braces, or null indicating no body

setName

void setName(
String name)
Deprecated. 
The IDOMInitializer refinement of this IDOMNode method does nothing.

Specified by:
setName in interface IDOMNode
Parameters:
name - the given name

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire