Class AsciidocDocumentationCodegen.LinkMarkupLambda
- java.lang.Object
-
- org.openapitools.codegen.languages.AsciidocDocumentationCodegen.LinkMarkupLambda
-
- All Implemented Interfaces:
com.samskivert.mustache.Mustache.Lambda
- Enclosing class:
- AsciidocDocumentationCodegen
public class AsciidocDocumentationCodegen.LinkMarkupLambda extends Object implements com.samskivert.mustache.Mustache.Lambda
Lambda emitting an asciidoc "http link" if file is found in path. Use:{{#snippetLink}}markup until koma, /{{name}}.json{{/snippetLink}}
-
-
Constructor Summary
Constructors Constructor Description LinkMarkupLambda(String basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(com.samskivert.mustache.Template.Fragment frag, Writer out)
String
resetCounter()
-
-
-
Constructor Detail
-
LinkMarkupLambda
public LinkMarkupLambda(String basePath)
-
-
Method Detail
-
resetCounter
public String resetCounter()
-
execute
public void execute(com.samskivert.mustache.Template.Fragment frag, Writer out) throws IOException
- Specified by:
execute
in interfacecom.samskivert.mustache.Mustache.Lambda
- Throws:
IOException
-
-