Class AsciidocDocumentationCodegen.IncludeMarkupLambda

  • All Implemented Interfaces:
    com.samskivert.mustache.Mustache.Lambda
    Enclosing class:
    AsciidocDocumentationCodegen

    public class AsciidocDocumentationCodegen.IncludeMarkupLambda
    extends Object
    implements com.samskivert.mustache.Mustache.Lambda
    Lambda emitting an asciidoc "include::filename.adoc[]" if file is found in path. Use:
     {{#includemarkup}}{{name}}/description.adoc{{/includemarkup}}
     
    • Constructor Detail

      • IncludeMarkupLambda

        public IncludeMarkupLambda​(String attributePathReference,
                                   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