Class XMLRule<C extends XMLContext>
java.lang.Object
eu.dnetlib.validator2.engine.builtins.XMLRule<C>
- Direct Known Subclasses:
XMLCardinalityRule,XMLCrisClassVocabularyRule,XMLFieldExistsRule,XMLRegularExpressionRule,XMLValidURLRule,XMLVocabularyRule
An XML rule that evaluates an xpath in an XMLContext and then injects a custom nodelist predicate to
carry out the actual rule application.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
predicate
-
-
Constructor Details
-
XMLRule
-
-
Method Details
-
getContext
- Specified by:
getContextin interfaceRule<C extends XMLContext>
-
test
- Specified by:
testin interfaceRule<C extends XMLContext>- Throws:
RuleEvaluationException
-
toString
-