public class YAMLValue
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
asBoolean()
Get Object as Boolean
|
java.util.List<java.lang.Boolean> |
asBooleanList()
Get Object as List
|
double |
asDouble()
Get Object as Double
|
java.util.List<java.lang.Double> |
asDoubleList()
Get Object as Double List
|
float |
asFloat()
Get Object as Float
|
java.util.List<java.lang.Float> |
asFloatList()
Get Object as Float List
|
int |
asInt()
Get Object as Integer
|
java.util.List<java.lang.Integer> |
asIntList()
Get Object as Integer List
|
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.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() |
YAMLSection |
getDefiningSection()
Get the YAML Section this Object was defined in
|
boolean |
isBoolean()
Check if object is a Boolean
|
boolean |
isDouble()
Check if object is a Double
|
boolean |
isFloat()
Check if object is a Float
|
boolean |
isInt()
Check if object is an Integer
|
boolean |
isList()
Check if object is a List
|
boolean |
isLong()
Check if object is a Long
|
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 boolean asBoolean()
public java.util.List<java.lang.Boolean> asBooleanList()
public YAMLSection asSection()
public java.util.List<YAMLSection> asSectionList()
public double asDouble()
public java.util.List<java.lang.Double> asDoubleList()
public float asFloat()
public java.util.List<java.lang.Float> asFloatList()
public int asInt()
public java.util.List<java.lang.Integer> asIntList()
public long asLong()
public java.util.List<java.lang.Long> asLongList()
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.util.UUID asUUID()
public java.util.List<java.util.UUID> asUUIDList()
public boolean isBoolean()
public boolean isSection()
public boolean isDouble()
public boolean isFloat()
public boolean isInt()
public boolean isList()
public boolean isLong()
public boolean isString()
public boolean isUUID()
public java.lang.String toString()
toString
in class java.lang.Object