public static class TsonElementDecorator.AsObject extends TsonElementDecorator implements TsonObject
TsonElementDecorator.Asalias, TsonElementDecorator.AsArray, TsonElementDecorator.AsBigComplex, TsonElementDecorator.AsBigDecimal, TsonElementDecorator.AsBigInt, TsonElementDecorator.AsBinaryStream, TsonElementDecorator.AsBoolean, TsonElementDecorator.AsByte, TsonElementDecorator.AsChar, TsonElementDecorator.AsCharStream, TsonElementDecorator.AsDate, TsonElementDecorator.AsDateTime, TsonElementDecorator.AsDouble, TsonElementDecorator.AsDoubleComplex, TsonElementDecorator.AsFloat, TsonElementDecorator.AsFloatComplex, TsonElementDecorator.AsFunction, TsonElementDecorator.AsInt, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T extends TsonElement>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsTime, TsonElementDecorator.AsUplet| Constructor and Description |
|---|
AsObject(TsonObject base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
List<TsonElement> |
all() |
TsonElementList |
args() |
TsonElementList |
body() |
TsonObjectBuilder |
builder() |
TsonElement |
get(String name) |
TsonElement |
get(TsonElement element) |
TsonObject |
getBase() |
TsonElementHeader |
header() |
Iterator<TsonElement> |
iterator() |
String |
name() |
int |
size() |
TsonContainer |
toContainer() |
void |
visit(TsonParserVisitor visitor) |
annotations, annotationsCount, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareTo, dateTimeValue, dateValue, doubleObject, doubleValue, equals, floatObject, floatValue, getBigDecimal, getBigInteger, hashCode, intObject, intValue, isNull, longObject, longValue, numberValue, of, of, processCommentsAndAnnotations, regexValue, shortObject, shortValue, simplify, stringValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toMatrix, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toString, toString, toString, toTime, toUplet, type, visitisContainer, isNumber, isPrimitive, isTemporalclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations, annotationsCount, booleanObject, booleanValue, build, byteObject, byteValue, charObject, charValue, comments, dateTimeValue, dateValue, doubleObject, doubleValue, floatObject, floatValue, getBigDecimal, getBigInteger, intObject, intValue, isContainer, isNull, isNumber, isPrimitive, isTemporal, longObject, longValue, numberValue, of, regexValue, shortObject, shortValue, stringValue, time, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBinOp, toBoolean, toByte, toChar, toCharStream, toDate, toDateTime, toDouble, toDoubleComplex, toFloat, toFloatComplex, toFunction, toInt, toLong, toMatrix, toName, toNumber, toObject, toPair, toRegex, toShort, toStr, toTime, toUplet, visittoString, toString, toString, typecompareToforEach, spliteratorpublic AsObject(TsonObject base, TsonComments comments, TsonAnnotation[] annotations)
public TsonElementList args()
args in interface TsonContainerpublic TsonContainer toContainer()
toContainer in interface TsonElementtoContainer in class TsonElementDecoratorpublic String name()
name in interface TsonContainerpublic TsonObject getBase()
getBase in class TsonElementDecoratorpublic TsonElement get(String name)
get in interface TsonObjectpublic TsonElementHeader header()
header in interface TsonObjectpublic List<TsonElement> all()
all in interface TsonObjectpublic TsonElementList body()
body in interface TsonContainerbody in interface TsonObjectpublic TsonElement get(TsonElement element)
get in interface TsonObjectpublic int size()
size in interface TsonObjectpublic Iterator<TsonElement> iterator()
iterator in interface Iterable<TsonElement>public TsonObjectBuilder builder()
builder in interface TsonElementbuilder in interface TsonObjectbuilder in class TsonElementDecoratorpublic void visit(TsonParserVisitor visitor)
visit in interface TsonElementCopyright © 2024 vpc open source initiative. All rights reserved.