Class MarkdownWriter.Factory
java.lang.Object
software.amazon.smithy.docgen.writers.MarkdownWriter.Factory
- All Implemented Interfaces:
BiFunction<String,
,String, DocWriter> SymbolWriter.Factory<DocWriter>
- Enclosing class:
- MarkdownWriter
public static final class MarkdownWriter.Factory
extends Object
implements SymbolWriter.Factory<DocWriter>
Factory to construct
MarkdownWriter
s.-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
apply
Description copied from interface:SymbolWriter.Factory
Creates aSymbolWriter
of typeW
for the given filename and namespace.- Specified by:
apply
in interfaceBiFunction<String,
String, DocWriter> - Specified by:
apply
in interfaceSymbolWriter.Factory<DocWriter>
- Parameters:
filename
- Non-null filename of the writer being created.namespace
- Non-null namespace associated with the file (possibly empty string).- Returns:
- Returns the created writer of type
W
.
-