public class ListDatatypeValidator extends java.lang.Object implements DatatypeValidator
Constructor and Description |
---|
ListDatatypeValidator(DatatypeValidator itemDV) |
Modifier and Type | Method and Description |
---|---|
void |
validate(java.lang.String content,
ValidationContext context)
Checks that "content" string is valid.
|
public ListDatatypeValidator(DatatypeValidator itemDV)
public void validate(java.lang.String content, ValidationContext context) throws InvalidDatatypeValueException
validate
in interface DatatypeValidator
content
- the string value that needs to be validatedcontext
- the validation contextInvalidDatatypeException
- if the content is
invalid according to the rules for the validatorsInvalidDatatypeValueException
InvalidDatatypeValueException
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.