public final class ImporterUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkEndNode(NodeParser node,
String nodeName) |
static void |
checkStartNode(NodeParser node,
String nodeName) |
static boolean |
isNodeNotClosed(NodeParser node,
String nodeName)
Checks that the node is the node with the given name and is not closed.
|
public static void checkStartNode(NodeParser node, String nodeName)
public static boolean isNodeNotClosed(NodeParser node, String nodeName)
node - the node to checknodeName - the name that the node must match.true if and only if the node is of the given nodeName and is not closedNullPointerException - is node or nodeName is nullpublic static void checkEndNode(NodeParser node, String nodeName)
Copyright © 2018 Atlassian. All rights reserved.