org.kuali.ole.ingest
Class OleLocationXMLSchemaValidator
java.lang.Object
org.kuali.ole.ingest.OleLocationXMLSchemaValidator
public class OleLocationXMLSchemaValidator
- extends Object
This class provides schema validation for uploaded location xml
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OleLocationXMLSchemaValidator
public OleLocationXMLSchemaValidator()
validateContentsAgainstSchema
public boolean validateContentsAgainstSchema(InputStream inputStream)
throws ParseException,
IOException,
SAXException
- This method returns True/False.
This method validate the inputStream content with W3C Xml Schema standard,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.