Class DocumentationUtils
java.lang.Object
software.amazon.awssdk.codegen.internal.DocumentationUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateLinkToServiceDocumentation(Metadata metadata, String name) Create the HTML for a link to the operation/shape core AWS docs sitestatic StringcreateLinkToServiceDocumentation(Metadata metadata, ShapeModel shapeModel) Create the HTML for a link to the operation/shape core AWS docs sitestatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringescapeIllegalCharacters(String documentation) Escapes Java comment breaking illegal character sequences.static StringremoveFromEnd(String string, String stringToRemove) static StringstripHtmlTags(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
-