@Contract
public interface DataType
type of the data a particular config
element (attribute, element) should have. This interface should be
implemented whenever a need arises to check if
an abstract data type can be represented as a given String .
The implementations of a DataType are mapped by their names elsewhere.
Implementations should provide functional implementation of the #validate method
and must have a public parameterless constructor (except possibly for primitives).PrimitiveDataType,
WriteableViewvoid validate(String value) throws ValidationException
value - String representing the value for this DataTypeValidationException - if given String does
not represent this data type.Copyright © 2009-2017 Oracle Corporation. All Rights Reserved.