com.jayway.restassured.internal.matcher.xml
Class XmlDtdMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<String>
      extended by com.jayway.restassured.internal.matcher.xml.XmlDtdMatcher
All Implemented Interfaces:
groovy.lang.GroovyObject, org.hamcrest.Matcher<String>, org.hamcrest.SelfDescribing

public class XmlDtdMatcher
extends org.hamcrest.BaseMatcher<String>
implements groovy.lang.GroovyObject


Constructor Summary
XmlDtdMatcher(Object dtd)
           
 
Method Summary
 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)
           
 void setDtd(Object value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlDtdMatcher

public XmlDtdMatcher(Object dtd)
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getDtd

public Object getDtd()

setDtd

public void setDtd(Object value)

matchesDtd

public static org.hamcrest.Matcher<String> matchesDtd(String dtd)

matchesDtd

public static org.hamcrest.Matcher<String> matchesDtd(InputStream dtd)

matchesDtd

public static org.hamcrest.Matcher<String> matchesDtd(File dtd)

matchesDtd

public static org.hamcrest.Matcher<String> matchesDtd(URL url)

matches

public boolean matches(Object item)
Specified by:
matches in interface org.hamcrest.Matcher<String>

describeTo

public void describeTo(org.hamcrest.Description description)
Specified by:
describeTo in interface org.hamcrest.SelfDescribing


Copyright © 2010-2012. All Rights Reserved.