Tag class abstract
Constructors
- Tag.new()
Properties
- getParent → Tag?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasParent → bool
-
no setter
- parentTagType → TagType
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asByte(
) → int -
asByteArray(
) → List< int> -
asCompoundTag(
) → CompoundTag -
asDouble(
) → double -
asFloat(
) → double -
asInt(
) → int -
asIntArray(
) → List< int> -
asLong(
) → int -
asLongArray(
) → List< int> -
asShort(
) → int -
asString(
) → String -
equals(
dynamic object) → bool -
getKey(
) → String -
getTagType(
) → TagType -
getType(
) → int -
getValue(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prettyPrint(
int indent, bool recurse) → void -
readStringifiedValue(
StringReader reader) → void -
readValue(
ByteLayer data) → void -
setKey(
String key) → void -
setParentTagType(
TagType type) → void -
setValue(
dynamic val) → void -
shouldEscapeSingleQuotes(
String value) → bool -
shouldQuote(
String value) → bool -
shouldQuoteName(
) → bool -
shouldUseSingleQuotes(
String value) → bool -
toString(
) → String -
A string representation of this object.
inherited
-
updateParent(
Tag? tag) → void -
writeStringifiedValue(
StringBuilder builder, int indent, bool isList) → void -
writeValue(
ByteLayer data) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getCanonicalName(
TagType type) → String -
makeTagOfType(
TagType type) → Tag -
readNamedTag(
ByteLayer data) → Tag -
readStringifiedNamedTag(
StringReader string) → Tag -
writeNamedTag(
Tag tag, ByteLayer data) → void -
writeStringifiedNamedTag(
Tag tag, StringBuilder builder, int indents) → void