Package org.arakhne.afc.inputoutput.xml
Interface XMLConstraint
-
- All Known Implementing Classes:
XMLIdentifierConstraint
,XMLNameConstraint
,XMLValueConstraint
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface XMLConstraint
Defines a constraint that may be used byXMLUtil.getElementMatching(org.w3c.dom.Node, org.arakhne.afc.inputoutput.xml.XMLConstraint, boolean, java.lang.String...)
.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:40
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- inputoutput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isValidElement(Element element)
Replies if the given element is validating the constraints.
-
-
-
Method Detail
-
isValidElement
boolean isValidElement(Element element)
Replies if the given element is validating the constraints.- Parameters:
element
- the element to validate.- Returns:
true
if validation is success, otherwisefalse
.
-
-