org.fcrepo.server.validation
Class DOValidatorSchematronResult
java.lang.Object
org.fcrepo.server.validation.DOValidatorSchematronResult
public class DOValidatorSchematronResult
- extends Object
Schematron validation with FedoraRules schema as default.
- Author:
- Sandy Payette
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOValidatorSchematronResult
public DOValidatorSchematronResult(DOMResult result)
getXMLResult
public String getXMLResult()
throws TransformerException,
TransformerConfigurationException,
ParserConfigurationException
- Throws:
TransformerException
TransformerConfigurationException
ParserConfigurationException
isValid
public boolean isValid()
- Check if the object passes Schematron validation
- Returns:
true, object is valid, false
object had errors.
serializeResult
public String serializeResult(Writer out)
- Serializes the specified node, recursively, to a Writer and returns it as
a String too.
Copyright © 2011 DuraSpace. All Rights Reserved.