|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Common protocol for Java elements that contain other Java elements.
This interface is not intended to be implemented by clients.
Method Summary | |
IJavaElement[] |
getChildren()
Returns the immediate children of this element. |
boolean |
hasChildren()
Returns whether this element has one or more immediate children. |
Method Detail |
public IJavaElement[] getChildren() throws JavaModelException
JavaModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resourcepublic boolean hasChildren() throws JavaModelException
getChildren
is an empty array.JavaModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource
|
Eclipse JDT 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |