Class AnfBlockProcessor

java.lang.Object
org.asciidoctor.extension.BaseProcessor
org.asciidoctor.extension.BlockProcessor
network.ike.docs.koncept.AnfBlockProcessor
All Implemented Interfaces:
org.asciidoctor.extension.Processor

@Name("anf") @Contexts({":open",":listing"}) @ContentModel(":raw") public class AnfBlockProcessor extends org.asciidoctor.extension.BlockProcessor
The [anf] block in the documentation build (dev-anf-adoc-representation): the static projection of the ANF statement card the assistant surface draws for the same block. It reads the statement's fields store-free and puts in its place a small table, the statement's type and name above, one row per field beneath, each concept a Koncept chip when its identifier is a SNOMED CT identifier or a UUID, a candidate set in italics and marked as one.
[anf,type=request,id=req-scan]
--
topic::   k:MraHead[Magnetic resonance angiography of head without contrast] @id=437731000119100
timing::  [2,2] k:Year[year] @id=258707000
purpose:: candidate[detection of reopening of the sealed aneurysm] disp=PENDING
--
A block that names itself, id=…, is remembered by that name, so a [decision-tree] later in the document whose nodes hold it, statement=anf:req-scan, lists what each node states, and a [graphlet-model] whose parameters read it, parameter = [0.15,0.15] anf:est-material-problem, takes the range its result:: determined and the scale the range is on (measure(Statement)). An element block whose body is still empty shows its sentence and that it is not yet lifted. The output is AsciiDoc re-parsed in place, so it is backend-agnostic.
  • Field Summary

    Fields inherited from class org.asciidoctor.extension.BlockProcessor

    name
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new block processor instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    process(org.asciidoctor.ast.StructuralNode parent, org.asciidoctor.extension.Reader reader, Map<String,Object> attributes)
     

    Methods inherited from class org.asciidoctor.extension.BlockProcessor

    getName, setName

    Methods inherited from class org.asciidoctor.extension.BaseProcessor

    createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createDocument, createList, createList, createList, createListItem, createListItem, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createSection, createSection, createSection, createSection, createSection, createTable, createTable, createTableCell, createTableCell, createTableCell, createTableCell, createTableColumn, createTableColumn, createTableRow, getConfig, log, newCursor, newCursor, newCursor, newReader, newReader, newReader, newReader, parseContent, setConfig, unwrap, updateConfig

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AnfBlockProcessor

      public AnfBlockProcessor()
      Creates a new block processor instance.
  • Method Details

    • process

      public Object process(org.asciidoctor.ast.StructuralNode parent, org.asciidoctor.extension.Reader reader, Map<String,Object> attributes)
      Specified by:
      process in class org.asciidoctor.extension.BlockProcessor