Package org.neo4j.gds.doc
Class QueryCollectingTreeProcessor
- java.lang.Object
-
- org.asciidoctor.extension.BaseProcessor
-
- org.asciidoctor.extension.Treeprocessor
-
- org.neo4j.gds.doc.QueryCollectingTreeProcessor
-
- All Implemented Interfaces:
org.asciidoctor.extension.Processor
public class QueryCollectingTreeProcessor extends org.asciidoctor.extension.TreeprocessorExtension for Asciidoctor. It looks for two kinds of blocks in the AsciiDoc source: 1) Blocks with the role `setup-query`. 2) Blocks with the role `query-example`. The content is expected to contain exactly two blocks: 2.1) First, a block containing a Cypher query example. 2.2) Second, a table containing a Cypher query result.
-
-
Constructor Summary
Constructors Constructor Description QueryCollectingTreeProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>beforeAllQueries()java.util.List<java.lang.String>beforeEachQueries()org.asciidoctor.ast.Documentprocess(org.asciidoctor.ast.Document document)java.util.List<QueryExampleGroup>queryExamples()-
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, parseContent, setConfig, unwrap, updateConfig
-
-
-
-
Method Detail
-
beforeAllQueries
public java.util.List<java.lang.String> beforeAllQueries()
-
beforeEachQueries
public java.util.List<java.lang.String> beforeEachQueries()
-
queryExamples
public java.util.List<QueryExampleGroup> queryExamples()
-
process
public org.asciidoctor.ast.Document process(org.asciidoctor.ast.Document document)
- Specified by:
processin classorg.asciidoctor.extension.Treeprocessor
-
-