@DoNotObfuscate
public final class XFAValidator
extends com.pdfunit.validators.AbstractValidator
Constructor and Description |
---|
XFAValidator(DocumentValidator backReference) |
Modifier and Type | Method and Description |
---|---|
void |
hasNoXFAData()
Validating that the current PDF document has no XFA data.
|
XFAValidator |
hasXFAData()
Validating that the current PDF document has XFA data.
|
XFAValidator |
matchingXPath(XPathExpression xpath)
This method processes the given XPath expression against the XFA data
of the current PDF document.
|
XFAValidator |
withNode(XMLNode node)
This method validates the node name and value, covered by the instance
of XMLNode, against the current PDF document.
|
public XFAValidator(DocumentValidator backReference)
public XFAValidator hasXFAData()
public void hasNoXFAData()
The returncode is void. It makes sense, not to return self, because there are no data to analyze further.
@Guarded public XFAValidator matchingXPath(XPathExpression xpath)
The XPath expression must result in a type boolean.
@Guarded public XFAValidator withNode(XMLNode node)
Copyright (C) PDFUnit.com. See here for license.