org.xmlmatchers
Class XmlMatchers

java.lang.Object
  extended by org.xmlmatchers.XmlMatchers

public class XmlMatchers
extends Object


Constructor Summary
XmlMatchers()
           
 
Method Summary
static org.hamcrest.Matcher<Source> conformsTo(Schema schema)
           
static org.hamcrest.Matcher<Source> equivalentTo(Source control)
           
static org.hamcrest.Matcher<Source> hasXPath(String xPath)
           
static org.hamcrest.Matcher<Source> hasXPath(String xPath, org.hamcrest.Matcher<? super String> valueMatcher)
           
static org.hamcrest.Matcher<Source> hasXPath(String xPath, org.hamcrest.Matcher<? super String> valueMatcher, NamespaceContext namespaceContext)
           
static org.hamcrest.Matcher<Source> hasXPath(String xPath, NamespaceContext namespaceContext)
           
static org.hamcrest.Matcher<Source> hasXPath(String xPath, NamespaceContext namespaceContext, org.hamcrest.Matcher<? super String> valueMatcher)
           
static
<T> org.hamcrest.Matcher<Source>
hasXPath(String xPath, NamespaceContext namespaceContext, XpathReturnType<? super T> xpathReturnType, org.hamcrest.Matcher<? super T> valueMatcher)
           
static
<T> org.hamcrest.Matcher<Source>
hasXPath(String xPath, XpathReturnType<? super T> xpathReturnType, org.hamcrest.Matcher<? super T> valueMatcher)
           
static org.hamcrest.Matcher<Source> isEquivalentTo(Source control)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlMatchers

public XmlMatchers()
Method Detail

isEquivalentTo

public static org.hamcrest.Matcher<Source> isEquivalentTo(Source control)

equivalentTo

public static org.hamcrest.Matcher<Source> equivalentTo(Source control)

hasXPath

public static org.hamcrest.Matcher<Source> hasXPath(String xPath,
                                                    NamespaceContext namespaceContext)

hasXPath

public static org.hamcrest.Matcher<Source> hasXPath(String xPath,
                                                    org.hamcrest.Matcher<? super String> valueMatcher)

hasXPath

public static org.hamcrest.Matcher<Source> hasXPath(String xPath,
                                                    NamespaceContext namespaceContext,
                                                    org.hamcrest.Matcher<? super String> valueMatcher)

hasXPath

public static org.hamcrest.Matcher<Source> hasXPath(String xPath)

hasXPath

public static <T> org.hamcrest.Matcher<Source> hasXPath(String xPath,
                                                        NamespaceContext namespaceContext,
                                                        XpathReturnType<? super T> xpathReturnType,
                                                        org.hamcrest.Matcher<? super T> valueMatcher)

hasXPath

public static org.hamcrest.Matcher<Source> hasXPath(String xPath,
                                                    org.hamcrest.Matcher<? super String> valueMatcher,
                                                    NamespaceContext namespaceContext)

hasXPath

public static <T> org.hamcrest.Matcher<Source> hasXPath(String xPath,
                                                        XpathReturnType<? super T> xpathReturnType,
                                                        org.hamcrest.Matcher<? super T> valueMatcher)

conformsTo

public static org.hamcrest.Matcher<Source> conformsTo(Schema schema)


Copyright © 2010-2011. All Rights Reserved.