Class AsciidocDocumentationCodegen.TableCellContentLambda

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

    public static class AsciidocDocumentationCodegen.TableCellContentLambda
    extends Object
    implements com.samskivert.mustache.Mustache.Lambda
    Lambda escaping AsciiDoc table cell separators ("|") in rendered content, so that free-form values (descriptions, defaults, patterns, enum values, ...) cannot break the layout of the table they are placed in. Use:
     {{#tablecellcontent}}{{description}}{{/tablecellcontent}}
     
    • Constructor Detail

      • TableCellContentLambda

        public TableCellContentLambda()
    • Method Detail

      • 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