org.springframework.integration.xml.router
Class SchemaValidator

java.lang.Object
  extended by org.springframework.integration.xml.router.SchemaValidator
All Implemented Interfaces:
XmlValidator

public class SchemaValidator
extends java.lang.Object
implements XmlValidator


Constructor Summary
SchemaValidator(org.springframework.core.io.Resource schemaResource, java.lang.String schemaLanguage)
           
 
Method Summary
 boolean isValid(javax.xml.transform.Source source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaValidator

public SchemaValidator(org.springframework.core.io.Resource schemaResource,
                       java.lang.String schemaLanguage)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

isValid

public boolean isValid(javax.xml.transform.Source source)
Specified by:
isValid in interface XmlValidator