@DoNotObfuscate
public final class XMPValidator
extends com.pdfunit.validators.AbstractValidator
Constructor and Description |
---|
XMPValidator(DocumentValidator backReference) |
Modifier and Type | Method and Description |
---|---|
void |
hasNoXMPData() |
XMPValidator |
hasXMPData()
Validating that the current PDF document has XMP data.
|
XMPValidator |
matchingXPath(XPathExpression xpath)
This method prcesses the given XPath expression against the XMP data
of the current PDF document.
|
XMPValidator |
withNode(XMLNode node)
This method validates the node name and value, covered by the instance
of XMLNode, against the current PDF document.
|
public XMPValidator(DocumentValidator backReference)
public XMPValidator hasXMPData()
public void hasNoXMPData()
@Guarded public XMPValidator matchingXPath(XPathExpression xpath)
The XPath expression must result in a type boolean.
@Guarded public XMPValidator withNode(XMLNode node)
Copyright (C) PDFUnit.com. See here for license.