T
- The return type of this visitorpublic interface TemplateVisitor<T>
Modifier and Type | Method and Description |
---|---|
T |
finishMultipartTemplate()
Invoked at the conclusion of visiting a multipart template like `https://{Region}.{dnsSuffix}`.
|
T |
startMultipartTemplate()
Invoked prior to visiting a multipart template like `https://{Region}.{dnsSuffix}`.
|
T |
visitDynamicElement(Expr value)
Visit a dynamic element within a multipart template.
|
T |
visitSingleDynamicTemplate(Expr value)
The template contains a single dynamic element, eg.
|
T |
visitStaticElement(String value)
Visit a static element within a multipart template.
|
T |
visitStaticTemplate(String value)
The template contains a single static string, eg.
|
T visitStaticTemplate(String value)
value
- : The static value of the template.T visitSingleDynamicTemplate(Expr value)
value
- : The single expression that represents this template.T visitStaticElement(String value)
startMultipartTemplate()
has been invoked.value
- A static element within a larger templateT visitDynamicElement(Expr value)
startMultipartTemplate()
has been invoked.value
- The dynamic template valueT startMultipartTemplate()
visitStaticTemplate(String)
and visitDynamicElement(Expr)
.T finishMultipartTemplate()
Copyright © 2023. All rights reserved.