org.xmlmatchers.validation
Class ConformsToSchema
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<Source>
org.xmlmatchers.validation.ConformsToSchema
- All Implemented Interfaces:
- org.hamcrest.Matcher<Source>, org.hamcrest.SelfDescribing
public class ConformsToSchema
- extends org.hamcrest.TypeSafeDiagnosingMatcher<Source>
possible names: adheres, complies, conforms
- Author:
- David Ehringer
| Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher |
describeMismatch, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
ConformsToSchema
public ConformsToSchema(Schema schema)
describeTo
public void describeTo(org.hamcrest.Description description)
matchesSafely
protected boolean matchesSafely(Source source,
org.hamcrest.Description mismatchDescription)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<Source>
convert
protected DOMSource convert(Source source)
conformsTo
public static org.hamcrest.Matcher<Source> conformsTo(Schema schema)
Copyright © 2010-2011. All Rights Reserved.