Class ShapeVisitor.DataShapeVisitor<R>
- java.lang.Object
-
- software.amazon.smithy.model.shapes.ShapeVisitor.DataShapeVisitor<R>
-
- Type Parameters:
R
- Return type.
- All Implemented Interfaces:
ShapeVisitor<R>
- Enclosing interface:
- ShapeVisitor<R>
public abstract static class ShapeVisitor.DataShapeVisitor<R> extends java.lang.Object implements ShapeVisitor<R>
CreatesShapeVisitor
that only requires implementation of all data shape branches, but does not support service shapes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.smithy.model.shapes.ShapeVisitor
ShapeVisitor.DataShapeVisitor<R>, ShapeVisitor.Default<R>
-
-
Constructor Summary
Constructors Constructor Description DataShapeVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description R
operationShape(OperationShape shape)
R
resourceShape(ResourceShape shape)
R
serviceShape(ServiceShape shape)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.shapes.ShapeVisitor
bigDecimalShape, bigIntegerShape, blobShape, booleanShape, byteShape, documentShape, doubleShape, enumShape, floatShape, integerShape, intEnumShape, listShape, longShape, mapShape, memberShape, setShape, shortShape, stringShape, structureShape, timestampShape, unionShape
-
-
-
-
Method Detail
-
operationShape
public R operationShape(OperationShape shape)
- Specified by:
operationShape
in interfaceShapeVisitor<R>
-
resourceShape
public R resourceShape(ResourceShape shape)
- Specified by:
resourceShape
in interfaceShapeVisitor<R>
-
serviceShape
public R serviceShape(ServiceShape shape)
- Specified by:
serviceShape
in interfaceShapeVisitor<R>
-
-