public class XInfoTrustedValidator extends Validator<XInfo>
XInfoValidatorSimple verifies that an XInfo item contains at a minimum
an xref, and optionally an xid. XInfoValidatorSimple is a trusting validator
in so much as it trusts a provided xid value is not stale.
If an xid is present, this validator trusts that it is correct.
If an xid is missing, using the xref, this validator fills in the xid.
NOTE: Unless you really understand what you are doing, your application should
be using BuiltinValidators.XINFO_DEFAULT to for XInfo parameter validation.
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<BaseRule<XInfo>> |
defaultRules |
static BaseRule<XInfo> |
notNullXinfo |
static BaseRule<XInfo> |
xinfoTrustedCheck |
protected static ExternalReferenceManager |
xrefMgr |
| Constructor and Description |
|---|
XInfoTrustedValidator() |
XInfoTrustedValidator(java.util.List<BaseRule<XInfo>> rules) |
clearResults, failuresToString, getResults, itemToString, validate, validateprotected static ExternalReferenceManager xrefMgr