Package org.attoparser.dom
Interface INestableNode
- All Superinterfaces:
INode
- All Known Implementing Classes:
AbstractNestableNode,Document,Element
Common interface for all nodes in DOM trees that can have children nodes.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetChildrenOfType(Class<T> type) <T extends INode>
TgetFirstChildOfType(Class<T> type) booleanvoidinsertChild(int index, INode newChild) voidinsertChildAfter(INode after, INode newChild) voidinsertChildBefore(INode before, INode newChild) intvoidremoveChild(INode child)
-
Method Details
-
hasChildren
boolean hasChildren() -
numChildren
int numChildren() -
getChildren
-
getChildrenOfType
-
getFirstChild
INode getFirstChild() -
getFirstChildOfType
-
addChild
-
insertChild
-
insertChildBefore
-
insertChildAfter
-
removeChild
-
clearChildren
void clearChildren()
-