Class ShapeVisitor.Default<R>
java.lang.Object
software.amazon.smithy.model.shapes.ShapeVisitor.Default<R>
- Type Parameters:
- R- Return type.
- All Implemented Interfaces:
- ShapeVisitor<R>
- Enclosing interface:
- ShapeVisitor<R>
Creates 
ShapeVisitor that return a value when necessary
 when visiting shapes.- 
Nested Class SummaryNested classes/interfaces inherited from interface software.amazon.smithy.model.shapes.ShapeVisitorShapeVisitor.Default<R>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbigDecimalShape(BigDecimalShape shape) bigIntegerShape(BigIntegerShape shape) booleanShape(BooleanShape shape) documentShape(DocumentShape shape) doubleShape(DoubleShape shape) floatShape(FloatShape shape) protected abstract RgetDefault(Shape shape) Returns a value for any unhandled shape.integerShape(IntegerShape shape) memberShape(MemberShape shape) operationShape(OperationShape shape) resourceShape(ResourceShape shape) serviceShape(ServiceShape shape) shortShape(ShortShape shape) stringShape(StringShape shape) structureShape(StructureShape shape) timestampShape(TimestampShape shape) unionShape(UnionShape shape) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.shapes.ShapeVisitorenumShape, intEnumShape, setShape
- 
Constructor Details- 
Defaultpublic Default()
 
- 
- 
Method Details- 
getDefaultReturns a value for any unhandled shape.- Parameters:
- shape- Shape that is being visited.
- Returns:
- Return value.
 
- 
blobShape- Specified by:
- blobShapein interface- ShapeVisitor<R>
 
- 
booleanShape- Specified by:
- booleanShapein interface- ShapeVisitor<R>
 
- 
listShape- Specified by:
- listShapein interface- ShapeVisitor<R>
 
- 
byteShape- Specified by:
- byteShapein interface- ShapeVisitor<R>
 
- 
shortShape- Specified by:
- shortShapein interface- ShapeVisitor<R>
 
- 
integerShape- Specified by:
- integerShapein interface- ShapeVisitor<R>
 
- 
longShape- Specified by:
- longShapein interface- ShapeVisitor<R>
 
- 
floatShape- Specified by:
- floatShapein interface- ShapeVisitor<R>
 
- 
documentShape- Specified by:
- documentShapein interface- ShapeVisitor<R>
 
- 
doubleShape- Specified by:
- doubleShapein interface- ShapeVisitor<R>
 
- 
bigIntegerShape- Specified by:
- bigIntegerShapein interface- ShapeVisitor<R>
 
- 
bigDecimalShape- Specified by:
- bigDecimalShapein interface- ShapeVisitor<R>
 
- 
mapShape- Specified by:
- mapShapein interface- ShapeVisitor<R>
 
- 
operationShape- Specified by:
- operationShapein interface- ShapeVisitor<R>
 
- 
resourceShape- Specified by:
- resourceShapein interface- ShapeVisitor<R>
 
- 
serviceShape- Specified by:
- serviceShapein interface- ShapeVisitor<R>
 
- 
stringShape- Specified by:
- stringShapein interface- ShapeVisitor<R>
 
- 
structureShape- Specified by:
- structureShapein interface- ShapeVisitor<R>
 
- 
unionShape- Specified by:
- unionShapein interface- ShapeVisitor<R>
 
- 
memberShape- Specified by:
- memberShapein interface- ShapeVisitor<R>
 
- 
timestampShape- Specified by:
- timestampShapein interface- ShapeVisitor<R>
 
 
-