Class XMLCardinalityRule.Builder
java.lang.Object
eu.dnetlib.validator2.engine.builtins.XMLCardinalityRule.Builder
- All Implemented Interfaces:
RuleBuilder<XMLCardinalityRule>
- Enclosing class:
- XMLCardinalityRule
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setIsInclusive(boolean isInclusive) setRange(long greaterThan, long lessThan) setXPathExpression(String xpath)
-
Method Details
-
setId
- Throws:
IllegalArgumentException
-
setXPathExpression
- Throws:
IllegalArgumentException
-
setRange
public XMLCardinalityRule.Builder setRange(String greaterThan, String lessThan) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
setRange
-
setIsInclusive
-
build
- Throws:
IllegalStateException
-
buildFrom
- Throws:
IllegalStateException
-