Interface ShapeVisitor<R>
-
- Type Parameters:
R
- Return type of the visitor.
- All Known Implementing Classes:
NodeValidationVisitor
,ShapeVisitor.DataShapeVisitor
,ShapeVisitor.Default
public interface ShapeVisitor<R>
Shape visitor pattern.- See Also:
ShapeVisitor.Default
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ShapeVisitor.DataShapeVisitor<R>
CreatesShapeVisitor
that only requires implementation of all data shape branches, but does not support service shapes.static class
ShapeVisitor.Default<R>
CreatesShapeVisitor
that return a value when necessary when visiting shapes.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method 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)
default R
enumShape(EnumShape shape)
R
floatShape(FloatShape shape)
R
integerShape(IntegerShape shape)
default R
intEnumShape(IntEnumShape 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)
default R
setShape(SetShape shape)
Deprecated.R
shortShape(ShortShape shape)
R
stringShape(StringShape shape)
R
structureShape(StructureShape shape)
R
timestampShape(TimestampShape shape)
R
unionShape(UnionShape shape)
-
-
-
Method Detail
-
booleanShape
R booleanShape(BooleanShape shape)
-
shortShape
R shortShape(ShortShape shape)
-
integerShape
R integerShape(IntegerShape shape)
-
intEnumShape
default R intEnumShape(IntEnumShape shape)
-
floatShape
R floatShape(FloatShape shape)
-
documentShape
R documentShape(DocumentShape shape)
-
doubleShape
R doubleShape(DoubleShape shape)
-
bigIntegerShape
R bigIntegerShape(BigIntegerShape shape)
-
bigDecimalShape
R bigDecimalShape(BigDecimalShape shape)
-
operationShape
R operationShape(OperationShape shape)
-
resourceShape
R resourceShape(ResourceShape shape)
-
serviceShape
R serviceShape(ServiceShape shape)
-
stringShape
R stringShape(StringShape shape)
-
structureShape
R structureShape(StructureShape shape)
-
unionShape
R unionShape(UnionShape shape)
-
memberShape
R memberShape(MemberShape shape)
-
timestampShape
R timestampShape(TimestampShape shape)
-
-