Enum Class SCMetaKind

java.lang.Object
java.lang.Enum<SCMetaKind>
org.stellar.sdk.xdr.SCMetaKind
All Implemented Interfaces:
Serializable, Comparable<SCMetaKind>, Constable, XdrElement

public enum SCMetaKind extends Enum<SCMetaKind> implements XdrElement
SCMetaKind's original definition in the XDR file is:
 enum SCMetaKind
 {
     SC_META_V0 = 0
 };
 
  • Enum Constant Details

    • SC_META_V0

      public static final SCMetaKind SC_META_V0
  • Method Details

    • values

      public static SCMetaKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SCMetaKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • decode

      public static SCMetaKind decode(XdrDataInputStream stream) throws IOException
      Throws:
      IOException
    • encode

      public void encode(XdrDataOutputStream stream) throws IOException
      Specified by:
      encode in interface XdrElement
      Throws:
      IOException
    • fromXdrBase64

      public static SCMetaKind fromXdrBase64(String xdr) throws IOException
      Throws:
      IOException
    • fromXdrByteArray

      public static SCMetaKind fromXdrByteArray(byte[] xdr) throws IOException
      Throws:
      IOException