org.kuali.ole.ingest
Class KrmsXMLSchemaValidator

java.lang.Object
  extended by org.kuali.ole.ingest.KrmsXMLSchemaValidator

public class KrmsXMLSchemaValidator
extends Object

KrmsXMLSchemaValidator is used to validate the xsd schema for KRMS builder.


Constructor Summary
KrmsXMLSchemaValidator()
           
 
Method Summary
 boolean validateContentsAgainstSchema(InputStream inputStream)
          This method return True/False.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KrmsXMLSchemaValidator

public KrmsXMLSchemaValidator()
Method Detail

validateContentsAgainstSchema

public boolean validateContentsAgainstSchema(InputStream inputStream)
                                      throws ParseException,
                                             IOException,
                                             SAXException
This method return True/False. This method checks fileContent schema with W3 Xml schema standards,If it matches it return True else return False.

Parameters:
inputStream -
Returns:
boolean
Throws:
ParseException
IOException
SAXException


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.