public final class NodeUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CONTENT_TYPE_ELEMENT |
static int |
CONTENT_TYPE_TEXT |
static int |
CONTENT_TYPE_WHITESPACE |
Modifier and Type | Method and Description |
---|---|
static void |
delete(Node deleted) |
static int |
getContentType(Element element) |
static Node[] |
getNodes(Node[] nodes) |
static void |
insert(boolean before,
Node anchor,
Node[] inserted) |
static void |
insertBefore(Tree parent,
Node before,
Node[] inserted) |
static void |
mergeContiguousText(Tree tree) |
static void |
mergeContiguousText(Tree tree,
boolean deep) |
static void |
replace(Node replaced,
Node[] replacement) |
public static final int CONTENT_TYPE_WHITESPACE
public static final int CONTENT_TYPE_ELEMENT
public static final int CONTENT_TYPE_TEXT