Enum Class SvgException.Kind
- All Implemented Interfaces:
Serializable, Comparable<SvgException.Kind>, Constable
- Enclosing class:
SvgException
違反的類別與對應的 diagnostic 代碼
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription不是格式正確的 XML、含 DOCTYPE、根元素或尺寸不合法累積矩陣、映射比例、轉換後座標、線寬或字級超出衍生數值範圍超過複雜度上限子集以外的元素、屬性或值 -
Method Summary
Modifier and TypeMethodDescriptioncode()static SvgException.KindReturns the enum constant of this class with the specified name.static SvgException.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID
不是格式正確的 XML、含 DOCTYPE、根元素或尺寸不合法 -
UNSUPPORTED
子集以外的元素、屬性或值 -
TOO_COMPLEX
超過複雜度上限 -
OUT_OF_RANGE
累積矩陣、映射比例、轉換後座標、線寬或字級超出衍生數值範圍
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
code
-