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

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

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


Constructor Summary
XmlXsdMatcher(Object xsd)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 Object getXsd()
           
 Object invokeMethod(String method, Object arguments)
           
 boolean matches(Object item)
           
static org.hamcrest.Matcher<String> matchesXsd(File xsd)
           
static org.hamcrest.Matcher<String> matchesXsd(InputStream xsd)
           
static org.hamcrest.Matcher<String> matchesXsd(Reader xsd)
           
static org.hamcrest.Matcher<String> matchesXsd(String xsd)
           
static org.hamcrest.Matcher<String> matchesXsd(URL url)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 void setXsd(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

XmlXsdMatcher

public XmlXsdMatcher(Object xsd)
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

getXsd

public Object getXsd()

setXsd

public void setXsd(Object value)

matchesXsd

public static org.hamcrest.Matcher<String> matchesXsd(String xsd)

matchesXsd

public static org.hamcrest.Matcher<String> matchesXsd(InputStream xsd)

matchesXsd

public static org.hamcrest.Matcher<String> matchesXsd(Reader xsd)

matchesXsd

public static org.hamcrest.Matcher<String> matchesXsd(File xsd)

matchesXsd

public static org.hamcrest.Matcher<String> matchesXsd(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.