public class YAMLValue
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
asBoolean()
Get Object as Boolean
|
java.util.List<java.lang.Boolean> |
asBooleanList()
Get Object as List
|
java.lang.String |
asColoredString(char color)
Get Object as Colored String
|
java.util.List<java.lang.String> |
asColoredStringList(char color)
Get Object as Colored String List
|
java.lang.Double |
asDouble()
Get Object as Double
|
java.util.List<java.lang.Double> |
asDoubleList()
Get Object as Double List
|
java.lang.Float |
asFloat()
Get Object as Float
|
java.util.List<java.lang.Float> |
asFloatList()
Get Object as Float List
|
java.lang.Integer |
asInt()
Get Object as Integer
|
java.util.List<java.lang.Integer> |
asIntList()
Get Object as Integer List
|
java.lang.Long |
asLong()
Get Object as Long
|
java.util.List<java.lang.Long> |
asLongList()
Get Object as Long List
|
java.lang.Object |
asObject()
Get Object
|
java.util.List<?> |
asObjectList()
Get Object as List
|
java.lang.String |
asRawString()
Get Object as Unparsed String
|
java.util.List<java.lang.String> |
asRawStringList()
Get Object as Unparsed String List
|
YAMLSection |
asSection()
Get Object as YAML Section
|
java.util.List<YAMLSection> |
asSectionList()
Get Object as YAML Section List
|
java.lang.Short |
asShort()
Get a Short by Handle
|
java.util.List<java.lang.Short> |
asShortList()
Get a Short List by Handle
|
java.lang.String |
asString()
Get Object as String
|
java.util.List<java.lang.String> |
asStringList()
Get Object as String List
|
java.util.UUID |
asUUID()
Get Object as UUID
|
java.util.List<java.util.UUID> |
asUUIDList()
Get Object as UUID List
|
boolean |
equals(java.lang.Object object) |
YAMLSection |
getDefiningSection()
Get the YAML Section this Object was defined in
|
boolean |
isBoolean()
Check if object is a Boolean
|
boolean |
isList()
Check if object is a List
|
boolean |
isNull()
Check if object is Null
|
boolean |
isNumber()
Check if object is a Number
|
boolean |
isSection()
Check if object is a YAML Section
|
boolean |
isString()
Check if object is a String
|
boolean |
isUUID()
Check if object is a UUID
|
java.lang.String |
toString() |
public YAMLSection getDefiningSection()
public java.lang.Object asObject()
public java.util.List<?> asObjectList()
public java.lang.Boolean asBoolean()
public java.util.List<java.lang.Boolean> asBooleanList()
public YAMLSection asSection()
public java.util.List<YAMLSection> asSectionList()
public java.lang.Double asDouble()
public java.util.List<java.lang.Double> asDoubleList()
public java.lang.Float asFloat()
public java.util.List<java.lang.Float> asFloatList()
public java.lang.Integer asInt()
public java.util.List<java.lang.Integer> asIntList()
public java.lang.Long asLong()
public java.util.List<java.lang.Long> asLongList()
public java.lang.Short asShort()
public java.util.List<java.lang.Short> asShortList()
public java.lang.String asRawString()
public java.util.List<java.lang.String> asRawStringList()
public java.lang.String asString()
public java.util.List<java.lang.String> asStringList()
public java.lang.String asColoredString(char color)
color
- Color Char to parsepublic java.util.List<java.lang.String> asColoredStringList(char color)
color
- Color Char to parsepublic java.util.UUID asUUID()
public java.util.List<java.util.UUID> asUUIDList()
public boolean isNull()
public boolean isBoolean()
public boolean isSection()
public boolean isList()
public boolean isNumber()
public boolean isString()
public boolean isUUID()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object