Package org.jvnet.hk2.config
Class PrimitiveDataType
java.lang.Object
org.jvnet.hk2.config.PrimitiveDataType
- All Implemented Interfaces:
DataType
Represents a Java primitive (and its wrapper) data type. Not all Java primitives
are relevant from a configuration standpoint.
- Since:
- hk2 0.3.10
- Author:
- केदार (km@dev.java.net)
- See Also:
-
DataTypeDomDocument.PRIMS
-
Method Summary
-
Method Details
-
validate
Description copied from interface:DataTypeChecks if given value can be had by the abstract data type represented by this implementation.- Specified by:
validatein interfaceDataType- Parameters:
value- String representing the value for this DataType- Throws:
ValidationException- if given String does not represent this data type.
-