com.jayway.restassured.assertion
Class XMLAssertion

java.lang.Object
  extended by com.jayway.restassured.assertion.XMLAssertion
All Implemented Interfaces:
Assertion, groovy.lang.GroovyObject

public class XMLAssertion
extends Object
implements Assertion, groovy.lang.GroovyObject


Constructor Summary
XMLAssertion()
           
 
Method Summary
 String description()
           
 String getKey()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 Object getResult(Object object)
           
 boolean getToUpperCase()
           
 Object invokeMethod(String method, Object arguments)
           
 boolean isPathFragment(String fragment)
           
 boolean isToUpperCase()
           
 void setKey(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 void setToUpperCase(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAssertion

public XMLAssertion()
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

getKey

public String getKey()

setKey

public void setKey(String value)

getToUpperCase

public boolean getToUpperCase()

isToUpperCase

public boolean isToUpperCase()

setToUpperCase

public void setToUpperCase(boolean value)

getResult

public Object getResult(Object object)
Specified by:
getResult in interface Assertion

isPathFragment

public boolean isPathFragment(String fragment)

description

public String description()
Specified by:
description in interface Assertion


Copyright © 2010-2011. All Rights Reserved.