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<String> |
matchesDtd(File dtd) |
static org.hamcrest.Matcher<String> |
matchesDtd(InputStream dtd) |
static org.hamcrest.Matcher<String> |
matchesDtd(String dtd) |
static org.hamcrest.Matcher<String> |
matchesDtd(URL url) |
static org.hamcrest.Matcher<String> |
matchesDtdInClasspath(String path) |
void |
setDtd(Object value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public XmlDtdMatcher(Object dtd)
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
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public Object getDtd()
public void setDtd(Object value)
public static org.hamcrest.Matcher<String> matchesDtd(InputStream dtd)
public boolean matches(Object item)
matches
in interface org.hamcrest.Matcher<String>
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
Copyright © 2010–2016. All rights reserved.