<s> package org . eclipse . jdt . core . jdom ; import java . util . Enumeration ; import org . eclipse . jdt . core . IJavaElement ; public interface IDOMNode extends Cloneable { public static int COMPILATION_UNIT = 1 ; public static int PACKAGE = 2 ; public static int IMPORT = 3 ; public static int TYPE = 4 ; public static int FIELD = 5 ; public static int METHOD = 6 ; public static int INITIALIZER = 7 ; public void addChild ( IDOMNode child ) throws DOMException , IllegalArgumentException ; public boolean canHaveChildren ( ) ; public Object clone ( ) ; public char [ ] getCharacters ( ) ; public IDOMNode getChild ( String name ) ; public Enumeration getChildren ( ) ; public String getContents ( ) ; public IDOMNode getFirstChild ( ) ; public IJavaElement getJavaElement ( IJavaElement parent ) throws IllegalArgumentException ; public String getName ( ) ; public IDOMNode getNextNode ( ) ; public int getNodeType ( ) ; public IDOMNode getParent ( ) ; public IDOMNode getPreviousNode ( ) ; public void insertSibling ( IDOMNode sibling ) throws DOMException , IllegalArgumentException ; public boolean isAllowableChild ( IDOMNode node ) ; public boolean isSignatureEqual ( IDOMNode node ) ; public void remove ( ) ; public void setName ( String name ) ; } </s>