Enum JSONLDMode

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

    @Deprecated(since="4.3.0",
                forRemoval=true)
    public enum JSONLDMode
    extends java.lang.Enum<JSONLDMode>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Specifies constants to identify various modes that are relevant to JSONLD documents.
    See Also:
    JSONLD Features
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      COMPACT
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      EXPAND
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      FLATTEN
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String label
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      private java.lang.String reference
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JSONLDMode​(java.lang.String label, java.lang.String reference)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getLabel()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String getReference()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static JSONLDMode valueOf​(java.lang.String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the enum constant of this type with the specified name.
      static JSONLDMode[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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

      • EXPAND

        public static final JSONLDMode EXPAND
        Deprecated, for removal: This API element is subject to removal in a future version.
      • COMPACT

        public static final JSONLDMode COMPACT
        Deprecated, for removal: This API element is subject to removal in a future version.
      • FLATTEN

        public static final JSONLDMode FLATTEN
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Field Detail

      • label

        private final java.lang.String label
        Deprecated, for removal: This API element is subject to removal in a future version.
      • reference

        private final java.lang.String reference
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Constructor Detail

      • JSONLDMode

        private JSONLDMode​(java.lang.String label,
                           java.lang.String reference)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • values

        public static JSONLDMode[] values()
        Deprecated, for removal: This API element is subject to removal in a future version.
        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 (JSONLDMode c : JSONLDMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JSONLDMode valueOf​(java.lang.String name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        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
      • getLabel

        public java.lang.String getLabel()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns:
        Returns the label.
      • getReference

        public java.lang.String getReference()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns:
        Returns the reference URL for the given mode.