Enum GuideSchemaType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<GuideSchemaType>

    public enum GuideSchemaType
    extends java.lang.Enum<GuideSchemaType>
    An enumeration value that specifies the schema type for creation of Adaptive Form or Adaptive Form Fragment.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BASIC
      Specifies that schema type is none.
      FDM
      Specifies that schema type is Form Data Model.
      JSON
      Specifies that schema type is json.
      XDP
      Specifies that schema type is xdp.
      XSD
      Specifies that schema type is xsd.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static GuideSchemaType getGuideSchemaType​(java.lang.String value)
      Return the GuideSchemaType object for the specified value
      java.lang.String getValue()  
      static boolean isGuideSchemaType​(java.lang.String value)
      Returns true if this is a guide schema type and false otherwise.
      static GuideSchemaType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static GuideSchemaType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

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

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

      • BASIC

        public static final GuideSchemaType BASIC
        Specifies that schema type is none.
      • XSD

        public static final GuideSchemaType XSD
        Specifies that schema type is xsd.
      • XDP

        public static final GuideSchemaType XDP
        Specifies that schema type is xdp.
      • JSON

        public static final GuideSchemaType JSON
        Specifies that schema type is json.
      • FDM

        public static final GuideSchemaType FDM
        Specifies that schema type is Form Data Model.
    • Method Detail

      • values

        public static GuideSchemaType[] 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 (GuideSchemaType c : GuideSchemaType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GuideSchemaType 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
      • getValue

        public java.lang.String getValue()
        Returns:
        GuideSchemaType value
      • isGuideSchemaType

        public static final boolean isGuideSchemaType​(java.lang.String value)
        Returns true if this is a guide schema type and false otherwise.
        Parameters:
        value - The value to check
        Returns:
        true if a guide schema type and false otherwise
      • getGuideSchemaType

        public static final GuideSchemaType getGuideSchemaType​(java.lang.String value)
        Return the GuideSchemaType object for the specified value
        Parameters:
        value - used to specify the GuideSchemaType
        Returns:
        a GuideSchemaType for the specified value or null if invalid