Package org.openpreservation.format.xml
Interface ValidationResult
- All Superinterfaces:
ParseResult
Simple extension of
ParseResult
to indicate whether the result of XML
validation is valid or not.-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
Is the XML document valid according to the supplied schema?Methods inherited from interface org.openpreservation.format.xml.ParseResult
getDeclaredNamespaces, getMessages, getRootAttributes, getRootAttributeValue, getRootName, getRootNamespace, getRootPrefix, getUsedNamespaces, isRootName, isWellFormed
-
Method Details
-
isValid
boolean isValid()Is the XML document valid according to the supplied schema?- Returns:
true
if the result is for a valid XML document, otherwisefalse
-