public class XmlResultParser extends Object
Constructor and Description |
---|
XmlResultParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
createResponseWithError(Document rdocument,
String pdfType,
ValidationResult result,
Element preflight) |
protected Element |
generateResponseSkeleton(Document rdocument,
String name,
long duration) |
Element |
validate(Document rdocument,
File file)
Validate the given file.
|
Element |
validate(File file)
Validate the given file.
|
public Element validate(File file) throws IOException
file
- the file to be validatedIOException
- if something went wrongpublic Element validate(Document rdocument, File file) throws IOException
rdocument
- XML based validation results of a former runfile
- the file to be validatedIOException
- if something went wrongprotected void createResponseWithError(Document rdocument, String pdfType, ValidationResult result, Element preflight)
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.