Class TsonElementDecorator.AsObject
java.lang.Object
net.thevpc.tson.impl.elements.AbstractTsonElementBase
net.thevpc.tson.impl.elements.TsonElementDecorator
net.thevpc.tson.impl.elements.TsonElementDecorator.AsObject
- All Implemented Interfaces:
Comparable<TsonElement>, Iterable<TsonElement>, TsonElement, TsonElementBase, TsonListContainer, TsonNamedElement, TsonObject, TsonParametrizedElement
- Enclosing class:
TsonElementDecorator
public static class TsonElementDecorator.AsObject
extends TsonElementDecorator
implements TsonObject
-
Nested Class Summary
Nested classes/interfaces inherited from class TsonElementDecorator
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.AsInstant, TsonElementDecorator.AsInt, TsonElementDecorator.AsLocalDate, TsonElementDecorator.AsLocalDateTime, TsonElementDecorator.AsLocalTime, TsonElementDecorator.AsLong, TsonElementDecorator.AsMatrix, TsonElementDecorator.AsName, TsonElementDecorator.AsNull, TsonElementDecorator.AsObject, TsonElementDecorator.AsOp, TsonElementDecorator.AsPair, TsonElementDecorator.AsPrimitive<T>, TsonElementDecorator.AsRegex, TsonElementDecorator.AsShort, TsonElementDecorator.AsString, TsonElementDecorator.AsUplet -
Constructor Summary
ConstructorsConstructorDescriptionAsObject(TsonObject base, TsonComments comments, TsonAnnotation[] annotations) -
Method Summary
Methods inherited from class TsonElementDecorator
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, toInstant, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toOp, toPair, toRegex, toShort, toStr, toString, toString, toString, toUplet, type, visitMethods inherited from class AbstractTsonElementBase
isAnyString, isArray, isBoolean, isComplexNumber, isFloatingNumber, isListContainer, isName, isNamedArray, isNamedObject, isNamedUplet, isNumber, isObject, isOrdinalNumber, isPair, isPrimitive, isSimple, isSimplePair, isString, isTemporal, isUpletMethods inherited from interface Comparable
compareToMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface TsonElement
annotations, 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, toInstant, toInt, toLocalDate, toLocalDateTime, toLocalTime, toLong, toMatrix, toName, toNumber, toOp, toPair, toRegex, toShort, toStr, toString, toUplet, visitMethods inherited from interface TsonElementBase
toString, toString, type
-
Constructor Details
-
AsObject
-
-
Method Details
-
isNamed
public boolean isNamed()- Specified by:
isNamedin interfaceTsonNamedElement- Specified by:
isNamedin interfaceTsonObject
-
toObject
- Specified by:
toObjectin interfaceTsonElement- Overrides:
toObjectin classTsonElementDecorator
-
params
- Specified by:
paramsin interfaceTsonParametrizedElement
-
toListContainer
- Specified by:
toListContainerin interfaceTsonElement- Overrides:
toListContainerin classTsonElementDecorator
-
name
- Specified by:
namein interfaceTsonNamedElement
-
getBase
- Overrides:
getBasein classTsonElementDecorator
-
get
- Specified by:
getin interfaceTsonObject
-
body
- Specified by:
bodyin interfaceTsonListContainer
-
get
- Specified by:
getin interfaceTsonObject
-
size
public int size()- Specified by:
sizein interfaceTsonObject
-
iterator
- Specified by:
iteratorin interfaceIterable<TsonElement>
-
builder
- Specified by:
builderin interfaceTsonElement- Specified by:
builderin interfaceTsonObject- Overrides:
builderin classTsonElementDecorator
-
visit
- Specified by:
visitin interfaceTsonElement
-
isParametrized
public boolean isParametrized()- Specified by:
isParametrizedin interfaceTsonObject- Specified by:
isParametrizedin interfaceTsonParametrizedElement
-
paramsCount
public int paramsCount()- Specified by:
paramsCountin interfaceTsonParametrizedElement
-