|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IParent
Common protocol for JavaScript elements that contain other JavaScript elements.
This interface is not intended to be implemented by clients.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | |
---|---|
IJavaScriptElement[] |
getChildren()
Returns the immediate children of this element. |
boolean |
hasChildren()
Returns whether this element has one or more immediate children. |
Method Detail |
---|
IJavaScriptElement[] getChildren() throws JavaScriptModelException
JavaScriptModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resourceboolean hasChildren() throws JavaScriptModelException
getChildren
is an empty array.
JavaScriptModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |