org.apache.xerces.impl.dv.dtd

Class NMTOKENDatatypeValidator

public class NMTOKENDatatypeValidator extends Object implements DatatypeValidator

NMTOKEN datatype validator.

Version: $Id: NMTOKENDatatypeValidator.java,v 1.7 2005/03/22 05:35:49 mrglavas Exp $

Author: Jeffrey Rodriguez, IBM Sandy Gao, IBM

UNKNOWN:

Constructor Summary
NMTOKENDatatypeValidator()
Method Summary
voidvalidate(String content, ValidationContext context)
Checks that "content" string is valid NMTOKEN value.

Constructor Detail

NMTOKENDatatypeValidator

public NMTOKENDatatypeValidator()

Method Detail

validate

public void validate(String content, ValidationContext context)
Checks that "content" string is valid NMTOKEN value. If invalid a Datatype validation exception is thrown.

Parameters: content the string value that needs to be validated context the validation context

Throws: InvalidDatatypeException if the content is invalid according to the rules for the validators

See Also: InvalidDatatypeValueException

Copyright © 1999-2005 Apache XML Project. All Rights Reserved.