public class XmlDtdMatcher
extends org.hamcrest.BaseMatcher
implements groovy.lang.GroovyObject
Constructor and Description |
---|
XmlDtdMatcher(Object dtd) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
Object |
getDtd() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
matches(Object item) |
static org.hamcrest.Matcher |
matchesDtd(File dtd) |
static org.hamcrest.Matcher |
matchesDtd(InputStream dtd) |
static org.hamcrest.Matcher |
matchesDtd(String dtd) |
static org.hamcrest.Matcher |
matchesDtd(URL url) |
static org.hamcrest.Matcher |
matchesDtdInClasspath(String path) |
void |
setDtd(Object value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public XmlDtdMatcher(Object dtd)
public Object getDtd()
public void setDtd(Object value)
public static org.hamcrest.Matcher matchesDtd(String dtd)
public static org.hamcrest.Matcher matchesDtd(InputStream dtd)
public static org.hamcrest.Matcher matchesDtd(File dtd)
public static org.hamcrest.Matcher matchesDtd(URL url)
public boolean matches(Object item)
matches
in interface org.hamcrest.Matcher
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
public static org.hamcrest.Matcher matchesDtdInClasspath(String path)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.