public final class DocumentationUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
createLinkToServiceDocumentation(Metadata metadata,
ShapeModel shapeModel)
Create the HTML for a link to the operation/shape core AWS docs site
|
static String |
createLinkToServiceDocumentation(Metadata metadata,
String name)
Create the HTML for a link to the operation/shape core AWS docs site
|
static String |
defaultFluentReturn() |
static String |
defaultGetter() |
static String |
defaultGetterParam() |
static String |
defaultSetter() |
static String |
defaultSetterParam() |
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.
|
public static String stripHtmlTags(String documentation)
documentation - unprocessed input documentationpublic static String escapeIllegalCharacters(String documentation)
documentation - unprocessed input documentationpublic static String createLinkToServiceDocumentation(Metadata metadata, String name)
metadata - the UID for the service from that services metadataname - the name of the shape/request/operationpublic static String createLinkToServiceDocumentation(Metadata metadata, ShapeModel shapeModel)
metadata - the UID for the service from that services metadatashapeModel - the model of the shapepublic static String defaultSetter()
public static String defaultSetterParam()
public static String defaultGetter()
public static String defaultGetterParam()
public static String defaultFluentReturn()
Copyright © 2019. All rights reserved.