APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.impl.dv.dtd

public Class ListDatatypeValidator

extends Object
implements DatatypeValidator
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xerces.internal.impl.dv.DatatypeValidator
Imports
com.sun.org.apache.xerces.internal.impl.dv.*, java.util.StringTokenizer

For list types: ENTITIES, IDREFS, NMTOKENS.
Authors
Jeffrey Rodriguez, IBM, Sandy Gao, IBM

Field Summary

Modifier and TypeField and Description
pack-priv DatatypeValidator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
validate(String
the string value that needs to be validated
content
,
ValidationContext
the validation context
context
)

Implements com.sun.org.apache.xerces.internal.impl.dv.DatatypeValidator.validate.

Checks that "content" string is valid.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fItemValidatorback to summary
pack-priv DatatypeValidator fItemValidator

Constructor Detail

ListDatatypeValidatorback to summary
public ListDatatypeValidator(DatatypeValidator itemDV)

Method Detail

validateback to summary
public void validate(String content, ValidationContext context) throws InvalidDatatypeValueException

Implements com.sun.org.apache.xerces.internal.impl.dv.DatatypeValidator.validate.

Checks that "content" string is valid. If invalid a Datatype validation exception is thrown.

Parameters
content:String

the string value that needs to be validated

context:ValidationContext

the validation context

Exceptions
InvalidDatatypeValueException:
if the content is invalid according to the rules for the validators
See Also
InvalidDatatypeValueException