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.AsCustom, TsonElementDecorator.AsDouble, TsonElementDecorator.AsDoubleComplex, TsonElementDecorator.AsFloat, TsonElementDecorator.AsFloatComplex, TsonElementDecorator.AsInt, TsonElementDecorator.AsLocalDateTime, TsonElementDecorator.AsLocalLocalDate, TsonElementDecorator.AsLocalTime, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsOp, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T extends TsonElement>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsUplet| Constructor and Description |
|---|
AsObject(TsonObject base,
TsonComments comments,
TsonAnnotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
TsonElementList |
body() |
TsonObjectBuilder |
builder() |
TsonElement |
get(String name) |
TsonElement |
get(TsonElement element) |
TsonObject |
getBase() |
boolean |
isNamed() |
boolean |
isParametrized() |
Iterator<TsonElement> |
iterator() |
String |
name() |
TsonElementList |
params() |
int |
paramsCount() |
int |
size() |
TsonListContainer |
toListContainer() |
TsonObject |
toObject() |
void |
visit(TsonParserVisitor visitor) |
annotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, byteObject, byteValue, charObject, charValue, comments, compareTo, doubleObject, doubleValue, equals, floatObject, floatValue, hashCode, instantValue, intObject, intValue, isNull, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, of, of, processCommentsAndAnnotations, regexValue, shortObject, shortValue, simplify, stringValue, temporalValue, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toOp, toPair, toRegex, toShort, toStr, toString, toString, toString, toUplet, type, visitisAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUpletclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotations, annotationsCount, bigDecimalValue, bigIntegerValue, booleanObject, booleanValue, build, byteObject, byteValue, charObject, charValue, comments, doubleObject, doubleValue, floatObject, floatValue, instantValue, intObject, intValue, isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNull, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUplet, localDateTimeValue, localDateValue, localTimeValue, longObject, longValue, numberValue, regexValue, shortObject, shortValue, stringValue, temporalValue, toAlias, toArray, toBigComplex, toBigDecimal, toBigInt, toBinaryStream, toBoolean, toByte, toChar, toCharStream, toCustom, toDouble, toDoubleComplex, toFloat, toFloatComplex, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toOp, toPair, toRegex, toShort, toStr, toString, toUplet, visittoString, toString, typecompareToforEach, spliteratorpublic AsObject(TsonObject base, TsonComments comments, TsonAnnotation[] annotations)
public boolean isNamed()
isNamed in interface TsonNamedElementisNamed in interface TsonObjectpublic TsonObject toObject()
toObject in interface TsonElementtoObject in class TsonElementDecoratorpublic TsonElementList params()
params in interface TsonParametrizedElementpublic TsonListContainer toListContainer()
toListContainer in interface TsonElementtoListContainer in class TsonElementDecoratorpublic String name()
name in interface TsonNamedElementpublic TsonObject getBase()
getBase in class TsonElementDecoratorpublic TsonElement get(String name)
get in interface TsonObjectpublic TsonElementList body()
body in interface TsonListContainerpublic 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 TsonElementpublic boolean isParametrized()
isParametrized in interface TsonObjectisParametrized in interface TsonParametrizedElementpublic int paramsCount()
paramsCount in interface TsonParametrizedElementCopyright © 2025 vpc open source initiative. All rights reserved.