Package org.arakhne.afc.inputoutput.xml
Class XMLIdentifierConstraint
- java.lang.Object
-
- org.arakhne.afc.inputoutput.xml.XMLIdentifierConstraint
-
- All Implemented Interfaces:
XMLConstraint
public class XMLIdentifierConstraint extends Object implements XMLConstraint
Matches the attribute "id" with the given value.- 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
-
-
Constructor Summary
Constructors Constructor Description XMLIdentifierConstraint(UUID value)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValidElement(Element element)Replies if the given element is validating the constraints.
-
-
-
Constructor Detail
-
XMLIdentifierConstraint
public XMLIdentifierConstraint(UUID value)
Constructor.- Parameters:
value- is the value to match.
-
-
Method Detail
-
isValidElement
public boolean isValidElement(Element element)
Description copied from interface:XMLConstraintReplies if the given element is validating the constraints.- Specified by:
isValidElementin interfaceXMLConstraint- Parameters:
element- the element to validate.- Returns:
trueif validation is success, otherwisefalse.
-
-