Class PrimitiveDataType

java.lang.Object
org.jvnet.hk2.config.PrimitiveDataType
All Implemented Interfaces:
DataType

public final class PrimitiveDataType extends Object implements 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:
केदाinvalid input: '&#2352' (km@dev.java.net)
See Also:
  • Method Details

    • validate

      public void validate(String value) throws ValidationException
      Description copied from interface: DataType
      Checks if given value can be had by the abstract data type represented by this implementation.
      Specified by:
      validate in interface DataType
      Parameters:
      value - String representing the value for this DataType
      Throws:
      ValidationException - if given String does not represent this data type.