public interface Ancestry
Modifier and Type | Method and Description |
---|---|
<H extends ElementHandler> |
getAncestor(Class<H> clazz)
Returns the handler's nearest ancestor (excluding itself) of a given
class.
|
int |
getChildCount()
Returns the number of child elements this handler currently has.
|
ElementHandler |
getParent()
Returns the handler's parent.
|
ElementHandler |
getSelf()
Returns the handler itself.
|
int |
getSiblingIndex()
Returns the index of this child in the list of its parent's children.
|
ElementHandler getSelf()
ElementHandler getParent()
<H extends ElementHandler> H getAncestor(Class<H> clazz)
clazz
- class requiredint getSiblingIndex()
int getChildCount()
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.