Uses of Interface
org.openpreservation.format.xml.ParseResult
Packages that use ParseResult
Package
Description
-
Uses of ParseResult in org.openpreservation.format.xml
Subinterfaces of ParseResult in org.openpreservation.format.xmlModifier and TypeInterfaceDescriptioninterface
Simple extension ofParseResult
to indicate whether the result of XML validation is valid or not.Methods in org.openpreservation.format.xml that return ParseResultModifier 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.Methods in org.openpreservation.format.xml with parameters of type ParseResultModifier 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
Methods in org.openpreservation.odf.document with parameters of type ParseResultModifier 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
Methods in org.openpreservation.odf.pkg that return ParseResultModifier and TypeMethodDescriptionOdfPackage.getEntryXmlParseResult
(String path) Get the XMLParseResult
of and identified ODF XML documents in the packageMethods in org.openpreservation.odf.pkg that return types with arguments of type ParseResultModifier and TypeMethodDescriptionOdfPackage.getMetaInfMap()
Retrieve theMap
ofString
path keys andParseResult
values for anyZipEntry
below theMETA-INF
directory. -
Uses of ParseResult in org.openpreservation.odf.xml
Methods in org.openpreservation.odf.xml that return ParseResultModifier and TypeMethodDescriptionOdfXmlDocument.getParseResult()
Get the parse result of the XML documentMethods in org.openpreservation.odf.xml with parameters of type ParseResultModifier and TypeMethodDescriptionstatic final OdfXmlDocument
OdfXmlDocuments.odfXmlDocumentOf
(ParseResult parseResult) Instantiates an OdfXmlDocument from an XML ParseResult