Package org.eclipse.core.internal.databinding.validation

Examples of org.eclipse.core.internal.databinding.validation.ObjectToPrimitiveValidator


     * singleton.
     */
    private ValidatorRegistry() {
      // Standalone validators here...
      associate(Integer.class, Integer.TYPE,
          new ObjectToPrimitiveValidator(Integer.TYPE));
      associate(Byte.class, Byte.TYPE, new ObjectToPrimitiveValidator(
          Byte.TYPE));
      associate(Short.class, Short.TYPE, new ObjectToPrimitiveValidator(
          Short.TYPE));
      associate(Long.class, Long.TYPE, new ObjectToPrimitiveValidator(
          Long.TYPE));
      associate(Float.class, Float.TYPE, new ObjectToPrimitiveValidator(
          Float.TYPE));
      associate(Double.class, Double.TYPE,
          new ObjectToPrimitiveValidator(Double.TYPE));
      associate(Boolean.class, Boolean.TYPE,
          new ObjectToPrimitiveValidator(Boolean.TYPE));

      associate(Object.class, Integer.TYPE,
          new ObjectToPrimitiveValidator(Integer.TYPE));
      associate(Object.class, Byte.TYPE, new ObjectToPrimitiveValidator(
          Byte.TYPE));
      associate(Object.class, Short.TYPE, new ObjectToPrimitiveValidator(
          Short.TYPE));
      associate(Object.class, Long.TYPE, new ObjectToPrimitiveValidator(
          Long.TYPE));
      associate(Object.class, Float.TYPE, new ObjectToPrimitiveValidator(
          Float.TYPE));
      associate(Object.class, Double.TYPE,
          new ObjectToPrimitiveValidator(Double.TYPE));
      associate(Object.class, Boolean.TYPE,
          new ObjectToPrimitiveValidator(Boolean.TYPE));
    }
View Full Code Here


     * singleton.
     */
    private ValidatorRegistry() {
      // Standalone validators here...
      associate(Integer.class, Integer.TYPE,
          new ObjectToPrimitiveValidator(Integer.TYPE));
      associate(Byte.class, Byte.TYPE, new ObjectToPrimitiveValidator(
          Byte.TYPE));
      associate(Short.class, Short.TYPE, new ObjectToPrimitiveValidator(
          Short.TYPE));
      associate(Long.class, Long.TYPE, new ObjectToPrimitiveValidator(
          Long.TYPE));
      associate(Float.class, Float.TYPE, new ObjectToPrimitiveValidator(
          Float.TYPE));
      associate(Double.class, Double.TYPE,
          new ObjectToPrimitiveValidator(Double.TYPE));
      associate(Boolean.class, Boolean.TYPE,
          new ObjectToPrimitiveValidator(Boolean.TYPE));

      associate(Object.class, Integer.TYPE,
          new ObjectToPrimitiveValidator(Integer.TYPE));
      associate(Object.class, Byte.TYPE, new ObjectToPrimitiveValidator(
          Byte.TYPE));
      associate(Object.class, Short.TYPE, new ObjectToPrimitiveValidator(
          Short.TYPE));
      associate(Object.class, Long.TYPE, new ObjectToPrimitiveValidator(
          Long.TYPE));
      associate(Object.class, Float.TYPE, new ObjectToPrimitiveValidator(
          Float.TYPE));
      associate(Object.class, Double.TYPE,
          new ObjectToPrimitiveValidator(Double.TYPE));
      associate(Object.class, Boolean.TYPE,
          new ObjectToPrimitiveValidator(Boolean.TYPE));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.core.internal.databinding.validation.ObjectToPrimitiveValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.