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
MarkdownWriters.-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
apply
Description copied from interface:SymbolWriter.FactoryCreates aSymbolWriterof typeWfor the given filename and namespace.- Specified by:
applyin interfaceBiFunction<String,String, DocWriter> - Specified by:
applyin 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.
-