Enum Class SvgException.Kind

java.lang.Object
java.lang.Enum<SvgException.Kind>
io.leandev.appfuse.report.internal.svg.SvgException.Kind
All Implemented Interfaces:
Serializable, Comparable<SvgException.Kind>, Constable
Enclosing class:
SvgException

public static enum SvgException.Kind extends Enum<SvgException.Kind>
違反的類別與對應的 diagnostic 代碼
  • Enum Constant Details

    • INVALID

      public static final SvgException.Kind INVALID
      不是格式正確的 XML、含 DOCTYPE、根元素或尺寸不合法
    • UNSUPPORTED

      public static final SvgException.Kind UNSUPPORTED
      子集以外的元素、屬性或值
    • TOO_COMPLEX

      public static final SvgException.Kind TOO_COMPLEX
      超過複雜度上限
    • OUT_OF_RANGE

      public static final SvgException.Kind OUT_OF_RANGE
      累積矩陣、映射比例、轉換後座標、線寬或字級超出衍生數值範圍
  • Method Details

    • values

      public static SvgException.Kind[] 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 SvgException.Kind 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
    • code

      public String code()