public final class DocumentMatchers extends Object
Modifier and Type | Method and Description |
---|---|
protected Object |
clone() |
static org.hamcrest.Matcher<org.dom4j.Comment> |
commentWithText(String text) |
static org.hamcrest.Matcher<org.dom4j.Document> |
documentWithNodes(Class<? extends org.dom4j.Node>... nodeTypes) |
static org.hamcrest.Matcher<org.dom4j.Element> |
elementWithName(String name) |
static <N extends org.dom4j.Node> |
hasNodeAt(int position,
Class<N> nodeType,
org.hamcrest.Matcher<N> nodeMatcher) |
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static org.hamcrest.Matcher<org.dom4j.Element> elementWithName(String name)
public static org.hamcrest.Matcher<org.dom4j.Comment> commentWithText(String text)
public static org.hamcrest.Matcher<org.dom4j.Document> documentWithNodes(Class<? extends org.dom4j.Node>... nodeTypes)
public static <N extends org.dom4j.Node> org.hamcrest.Matcher<org.dom4j.Document> hasNodeAt(int position, Class<N> nodeType, org.hamcrest.Matcher<N> nodeMatcher)
Copyright © 2002-2019 Atlassian. All Rights Reserved.