public final class PrimitiveDataType extends Object implements DataType
DataType
,
DomDocument.PRIMS
Modifier and Type | Method and Description |
---|---|
void |
validate(String value)
Checks if given value can be had by the abstract data type represented
by this implementation.
|
public void validate(String value) throws ValidationException
DataType
validate
in interface DataType
value
- String representing the value for this DataTypeValidationException
- if given String does
not represent this data type.Copyright © 2009–2018 Oracle Corporation. All rights reserved.