| java.lang.Object org.apache.xerces.impl.dv.dtd.NOTATIONDatatypeValidator
NOTATIONDatatypeValidator | public class NOTATIONDatatypeValidator implements DatatypeValidator(Code) | | NOTATIONValidator defines the interface that data type validators must obey.
These validators can be supplied by the application writer and may be useful as
standalone code as well as plugins to the validator architecture.
author: Jeffrey Rodriguez, IBM author: Sandy Gao, IBM version: $Id: NOTATIONDatatypeValidator.java 446749 2006-09-15 21:51:23Z mrglavas $ |
NOTATIONDatatypeValidator | public NOTATIONDatatypeValidator()(Code) | | |
validate | public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException(Code) | | Checks that "content" string is valid NOTATION value.
If invalid a Datatype validation exception is thrown.
Parameters: content - the string value that needs to be validated Parameters: context - the validation context throws: InvalidDatatypeException - if the content isinvalid according to the rules for the validators See Also: InvalidDatatypeValueException |
|
|