Class 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 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 interface com.samskivert.mustache.Mustache.Lambda
        Throws:
        IOException