R - Return type.public abstract static class ShapeVisitor.Default<R> extends java.lang.Object implements ShapeVisitor<R>
ShapeVisitor that return a value when necessary
when visiting shapes.ShapeVisitor.Default<R>| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
R |
bigDecimalShape(BigDecimalShape shape) |
R |
bigIntegerShape(BigIntegerShape shape) |
R |
blobShape(BlobShape shape) |
R |
booleanShape(BooleanShape shape) |
R |
byteShape(ByteShape shape) |
R |
documentShape(DocumentShape shape) |
R |
doubleShape(DoubleShape shape) |
R |
floatShape(FloatShape shape) |
protected abstract R |
getDefault(Shape shape)
Returns a value for any unhandled shape.
|
R |
integerShape(IntegerShape shape) |
R |
listShape(ListShape shape) |
R |
longShape(LongShape shape) |
R |
mapShape(MapShape shape) |
R |
memberShape(MemberShape shape) |
R |
operationShape(OperationShape shape) |
R |
resourceShape(ResourceShape shape) |
R |
serviceShape(ServiceShape shape) |
R |
setShape(SetShape shape) |
R |
shortShape(ShortShape shape) |
R |
stringShape(StringShape shape) |
R |
structureShape(StructureShape shape) |
R |
timestampShape(TimestampShape shape) |
R |
unionShape(UnionShape shape) |
protected abstract R getDefault(Shape shape)
shape - Shape that is being visited.public R blobShape(BlobShape shape)
blobShape in interface ShapeVisitor<R>public R booleanShape(BooleanShape shape)
booleanShape in interface ShapeVisitor<R>public R listShape(ListShape shape)
listShape in interface ShapeVisitor<R>public R setShape(SetShape shape)
setShape in interface ShapeVisitor<R>public R byteShape(ByteShape shape)
byteShape in interface ShapeVisitor<R>public R shortShape(ShortShape shape)
shortShape in interface ShapeVisitor<R>public R integerShape(IntegerShape shape)
integerShape in interface ShapeVisitor<R>public R longShape(LongShape shape)
longShape in interface ShapeVisitor<R>public R floatShape(FloatShape shape)
floatShape in interface ShapeVisitor<R>public R documentShape(DocumentShape shape)
documentShape in interface ShapeVisitor<R>public R doubleShape(DoubleShape shape)
doubleShape in interface ShapeVisitor<R>public R bigIntegerShape(BigIntegerShape shape)
bigIntegerShape in interface ShapeVisitor<R>public R bigDecimalShape(BigDecimalShape shape)
bigDecimalShape in interface ShapeVisitor<R>public R mapShape(MapShape shape)
mapShape in interface ShapeVisitor<R>public R operationShape(OperationShape shape)
operationShape in interface ShapeVisitor<R>public R resourceShape(ResourceShape shape)
resourceShape in interface ShapeVisitor<R>public R serviceShape(ServiceShape shape)
serviceShape in interface ShapeVisitor<R>public R stringShape(StringShape shape)
stringShape in interface ShapeVisitor<R>public R structureShape(StructureShape shape)
structureShape in interface ShapeVisitor<R>public R unionShape(UnionShape shape)
unionShape in interface ShapeVisitor<R>public R memberShape(MemberShape shape)
memberShape in interface ShapeVisitor<R>public R timestampShape(TimestampShape shape)
timestampShape in interface ShapeVisitor<R>