Class DocumentationUtils
java.lang.Object
software.amazon.awssdk.codegen.internal.DocumentationUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createLinkToServiceDocumentation
(Metadata metadata, String name) Create the HTML for a link to the operation/shape core AWS docs sitestatic String
createLinkToServiceDocumentation
(Metadata metadata, ShapeModel shapeModel) Create the HTML for a link to the operation/shape core AWS docs sitestatic String
static String
static String
static String
static String
static String
static String
escapeIllegalCharacters
(String documentation) Escapes Java comment breaking illegal character sequences.static String
removeFromEnd
(String string, String stringToRemove) static String
stripHtmlTags
(String documentation) Returns a documentation with HTML tags prefixed and suffixed removed, or returns empty string if the input is empty or null.
-
Method Details
-
stripHtmlTags
Returns a documentation with HTML tags prefixed and suffixed removed, or returns empty string if the input is empty or null. This method is to be used when constructing documentation for method parameters.- Parameters:
documentation
- unprocessed input documentation- Returns:
- HTML tag stripped documentation or empty string if input was null.
-
escapeIllegalCharacters
-
createLinkToServiceDocumentation
Create the HTML for a link to the operation/shape core AWS docs site- Parameters:
metadata
- the UID for the service from that services metadataname
- the name of the shape/request/operation- Returns:
- a '@see also' HTML link to the doc
-
createLinkToServiceDocumentation
Create the HTML for a link to the operation/shape core AWS docs site- Parameters:
metadata
- the UID for the service from that services metadatashapeModel
- the model of the shape- Returns:
- a '@see also' HTML link to the doc
-
removeFromEnd
-
defaultSetter
-
defaultSetterParam
-
defaultGetter
-
defaultGetterParam
-
defaultFluentReturn
-
defaultExistenceCheck
-