com.supermap.services.wms.request

Enum ValidateState

  • java.lang.Object
    • java.lang.Enum<ValidateState>
      • com.supermap.services.wms.request.ValidateState
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ValidateState>


    public enum ValidateState
    extends java.lang.Enum<ValidateState>
    
    The state of the WMS request parameter validation.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static ValidateState valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ValidateState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SUCCESS

        public static final ValidateState SUCCESS
        
        Succeed to verify.
      • ILLEGAL_ARGUMENT_VALUE

        public static final ValidateState ILLEGAL_ARGUMENT_VALUE
        
        Wrong parameter value.
      • ARGUMENT_ABSENCE

        public static final ValidateState ARGUMENT_ABSENCE
        
        The parameter is missing.
      • NOT_APPLICABLE

        public static final ValidateState NOT_APPLICABLE
        
        Not applicable. This value is returned when there is a regular expression validation in the operation definition parameter that does not pass. For example, to verify the GetCile parameters of the class to verify the GetCapabilities operation parameters, will return this value.
    • Method Detail

      • values

        public static ValidateState[] values()
        
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ValidateState c : ValidateState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ValidateState valueOf(java.lang.String name)
        
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null