public interface IParent
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
IJavaElement[] |
getChildren()
Returns the immediate children of this element.
|
boolean |
hasChildren()
Returns whether this element has one or more immediate children.
|
IJavaElement[] getChildren() throws JavaModelException
JavaModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resourceboolean hasChildren() throws JavaModelException
getChildren
is an empty array.JavaModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resourceCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.