Class ChildrenTypeValidator
- java.lang.Object
-
- org.anasoid.jmc.core.application.validator.ChildrenTypeValidator
-
- All Implemented Interfaces:
NodeValidator
public class ChildrenTypeValidator extends java.lang.Object implements NodeValidator
Validate type of children, When access directly to child list, children can be not valid.
-
-
Constructor Summary
Constructors Constructor Description ChildrenTypeValidator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.Class<?>>getTypes(TestElementWrapper<?> testElementWrapper)is field/method will be converted as property.voidvalidate(TestElementWrapper testElementWrapper)Validate Test element.
-
-
-
Method Detail
-
getTypes
public static java.util.Set<java.lang.Class<?>> getTypes(TestElementWrapper<?> testElementWrapper)
is field/method will be converted as property.
-
validate
public void validate(TestElementWrapper testElementWrapper) throws ConversionIllegalStateException
Description copied from interface:NodeValidatorValidate Test element.- Specified by:
validatein interfaceNodeValidator- Throws:
ConversionIllegalStateException
-
-