Class ValidateUriScheme
java.lang.Object
software.amazon.smithy.rulesengine.language.visit.DefaultVisitor<Stream<R>>
software.amazon.smithy.rulesengine.language.visit.TraversingVisitor<ValidationError>
software.amazon.smithy.rulesengine.validators.ValidateUriScheme
- All Implemented Interfaces:
ExpressionVisitor<Stream<ValidationError>>
,RuleValueVisitor<Stream<ValidationError>>
Validate that URIs start with a scheme.
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.smithy.rulesengine.language.visit.ExpressionVisitor
ExpressionVisitor.Default<R>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisitEndpoint
(Endpoint endpoint) Endpoint
visitor method.visitLiteral
(Literal literal) Methods inherited from class software.amazon.smithy.rulesengine.language.visit.TraversingVisitor
getDefault, visitConditions, visitEndpointRule, visitErrorRule, visitRuleset, visitTreeRule
Methods inherited from class software.amazon.smithy.rulesengine.language.visit.DefaultVisitor
visitBoolEquals, visitGetAttr, visitIsSet, visitLibraryFunction, visitNot, visitRef, visitStringEquals
-
Constructor Details
-
ValidateUriScheme
public ValidateUriScheme()
-
-
Method Details
-
visitEndpoint
Description copied from class:TraversingVisitor
Endpoint
visitor method.- Overrides:
visitEndpoint
in classTraversingVisitor<ValidationError>
- Parameters:
endpoint
- the endpoint to visit.- Returns:
- a stream of values.
-
visitLiteral
- Specified by:
visitLiteral
in interfaceExpressionVisitor<Stream<ValidationError>>
- Overrides:
visitLiteral
in classDefaultVisitor<Stream<ValidationError>>
-