Uses of Interface
org.openpreservation.format.xml.ParseResult
Package
Description
-
Uses of ParseResult in org.openpreservation.format.xml
Modifier and TypeInterfaceDescriptioninterface
Simple extension ofParseResult
to indicate whether the result of XML validation is valid or not.Modifier and TypeMethodDescriptionXmlParser.parse
(InputStream toTest) Parses the suppliedInputStream
for well-formedness and returns aParseResult
object.Parses the suppliedPath
for well-formedness and returns aParseResult
object.static final ParseResult
ValidationResults.parseResultOf
(boolean valid, Namespace namespace, List<Namespace> declareNamespaces, List<Namespace> usedNamespaces, String prefix, String name, List<Attribute> attributes, List<Message> messages) Create a newParseResult
object from the supplied values.Modifier and TypeMethodDescriptionstatic final ValidationResult
ValidationResults.of
(ParseResult parseResult, boolean valid, List<Message> messages) Creates a newValidationResult
object from the supplied values.XmlValidator.validate
(ParseResult parseResult, InputStream toValidate, Schema schema) Validate the supplied InputStream against the supplied schema. -
Uses of ParseResult in org.openpreservation.odf.document
Modifier and TypeMethodDescriptionstatic final OdfDocument
Documents.odfDocumentOf
(ParseResult parseResult) static final OdfDocument
Documents.odfDocumentOf
(ParseResult parseResult, Metadata metadata) -
Uses of ParseResult in org.openpreservation.odf.pkg
Modifier and TypeMethodDescriptionOdfPackage.getEntryXmlParseResult
(String path) Get the XMLParseResult
of and identified ODF XML documents in the packageModifier and TypeMethodDescriptionOdfPackage.getMetaInfMap()
Retrieve theMap
ofString
path keys andParseResult
values for anyZipEntry
below theMETA-INF
directory. -
Uses of ParseResult in org.openpreservation.odf.xml
Modifier and TypeMethodDescriptionOdfXmlDocument.getParseResult()
Get the parse result of the XML documentModifier and TypeMethodDescriptionstatic final OdfXmlDocument
OdfXmlDocuments.odfXmlDocumentOf
(ParseResult parseResult) Instantiates an OdfXmlDocument from an XML ParseResult