org.attoparser.markup.dom
Interface INestableNode
- All Superinterfaces:
- INode
- All Known Subinterfaces:
- IDocument, IElement
- All Known Implementing Classes:
- AbstractNestableNode, Document, Element
public interface INestableNode
- extends INode
Common interface for all nodes in attoDOM trees that
can have children nodes.
- Since:
- 1.1
- Author:
- Daniel Fernández
hasChildren
boolean hasChildren()
numChildren
int numChildren()
getChildren
List<INode> getChildren()
getChildrenOfType
<T extends INode> List<T> getChildrenOfType(Class<T> type)
getFirstChild
INode getFirstChild()
getFirstChildOfType
<T extends INode> T getFirstChildOfType(Class<T> type)
addChild
void addChild(INode newChild)
insertChild
void insertChild(int index,
INode newChild)
insertChildBefore
void insertChildBefore(INode before,
INode newChild)
insertChildAfter
void insertChildAfter(INode after,
INode newChild)
removeChild
void removeChild(INode child)
clearChildren
void clearChildren()
Copyright © 2013 The ATTOPARSER team. All Rights Reserved.