Class 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:
    केदार ([email protected])
    See Also:
    DataType, DomDocument.PRIMS
    • Method Detail

      • 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.